---
title: "Set Default Datamate Route"
method: PUT
path: "/datamates/default"
tags: ["Datamates"]
---

# Set Default Datamate Route

`PUT /datamates/default`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/datamates/default`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
- TypeScript: <https://skmtc.dev/myaltimate/apis/myaltimate-api/docs/datamates/default/put.ts> (a function with typed inputs; its response is checked against the schema)

Mark a workspace the caller can see as their default, or clear it.

## Request body

- SetDefaultDatamateRequest: The workspace to make the caller's default; null clears it.
  - `datamate_id` integer, nullable

## Response `200`

Successful Response

- DefaultDatamateResponse
  - `datamate_id` integer, nullable

## Other responses

- `404`: Datamate not found
- `422`: Validation Error

## Changes

- **2026-11-05** `cdc28ceabf58`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/myaltimate/apis/myaltimate-api/changes/datamates/default/put.md)

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/01c038028180?raw)
