Skip to main content
PATCH
http://localhost:3000
/
workspaces
/
{id}
curl -X PATCH 'https://api.example.com/workspaces/workspace_main' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Main Engineering"
  }'
{
  "id": "workspace_main",
  "tenantId": "tenant_acme",
  "scopeId": "scope_workspace_main",
  "name": "Main Engineering"
}

Path Parameters

id
string
required
The workspace ID to update

Request Body

name
string
Display name

Response

Returns the updated workspace object.
curl -X PATCH 'https://api.example.com/workspaces/workspace_main' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Main Engineering"
  }'
{
  "id": "workspace_main",
  "tenantId": "tenant_acme",
  "scopeId": "scope_workspace_main",
  "name": "Main Engineering"
}