Skip to content

Records (or replaces) one workspace's residency reference.

PUT
/v1/m/models/workspace-residency
curl --request PUT \
--url https://example.com/v1/m/models/workspace-residency \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "allowed_geos": [ "example" ], "as_of": "example", "default_geo": "example", "id": "example", "workspace_geo": "example", "workspace_ref": "example" }'

Records (or replaces) one workspace’s residency reference. It is an upsert keyed by workspace_ref: a catalog re-sync replaces the geos in place, never duplicates the row.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
allowed_geos
Array<string>
as_of
string
default_geo
string
id
string
workspace_geo
string
workspace_ref
required
string
>= 1 characters /\S/
Example generated
{
"allowed_geos": [
"example"
],
"as_of": "example",
"default_geo": "example",
"id": "example",
"workspace_geo": "example",
"workspace_ref": "example"
}

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}