Docs
Workspace Settings

Update workspace settings

Renames the workspace. The daily warmup budget is not editable here - it is allocated out of the organization-wide cap, so it is set org-wide with PATCH /v2/workspaces/quotas (or at creation with POST /v2/workspaces), by an organization owner.

PATCH
/v2/workspaces/{workspaceId}

Path Parameters

workspaceIdnumber
namestring
Lengthlength <= 100

Response Body

curl -X PATCH "https://lynx-api.trulyinbox.com/v2/workspaces/0" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "data": {
    "id": 0,
    "name": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "quota": {
      "dailyWarmupBudget": 0
    },
    "role": "owner"
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}