Atlas
Platform Admin — Residency

Assign region to workspace

SaaS only. Assign a workspace to a geographic region. Region is immutable after assignment.

POST
/api/v1/platform/residency/workspaces/:id/region

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:3001/api/v1/platform/residency/workspaces/:id/region" \  -H "Content-Type: application/json" \  -d '{    "region": "eu-west"  }'
{
  "workspaceId": "string",
  "region": "string",
  "assignedAt": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}