Atlas
Admin — Data Residency

Assign data residency region to workspace

Assigns a region to the current workspace. This action is permanent — the region cannot be changed after assignment. Enterprise plan required.

PUT
/api/v1/admin/residency

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

curl -X PUT "http://localhost:3001/api/v1/admin/residency" \  -H "Content-Type: application/json" \  -d '{    "region": "string"  }'
{
  "workspaceId": "string",
  "region": "string",
  "assignedAt": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "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"
}
Edit on GitHub

Last updated on