v2DeprecatedWorkspaces
Update a workspace
Partially update mutable workspace attributes.
Partially updates mutable workspace attributes. Only supplied fields are changed; omitted fields are left unchanged.
Update a workspace
PATCH/api/v2/partner/workspaces/{partner_workspace_id}
Path parameters
| Parameter | Type | Description |
|---|---|---|
| partner_workspace_id | string | Opaque workspace identifier from the partner system. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | No | New display name for the workspace. |
| signal_batch_frequency_hours | integer | No | How often, in hours, detected signals are batched. Must be a positive integer. |
Example request
curl -X PATCH "https://api.getsillage.com/api/v2/partner/workspaces/ws_123" \
-H "Authorization: Bearer $SILLAGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Acme Workspace (Renamed)", "signal_batch_frequency_hours": 4}'Example response
{
"data": {
"id": 101,
"name": "Acme Workspace (Renamed)",
"domain": "acme.com",
"is_archived": false,
"partner_workspace_id": "ws_123"
}
}Response fields
| Field | Type | Description |
|---|---|---|
| id | integer | Identifier for the workspace. |
| name | string | Display name of the workspace. |
| domain | string or null | Primary domain of the end customer, or null if not set. |
| is_archived | boolean | Whether this workspace has been archived. |
| partner_workspace_id | string | Your partner-side identifier, echoed back where applicable. |
Errors
| Status | Meaning |
|---|---|
| 401 | The master key is missing or invalid. |
| 403 | The master key is not authorized to access this resource. |
| 404 | No workspace found for this partner_workspace_id. |
| 422 | Invalid request body. |
| 429 | Too many requests. |
| 500 | An unexpected server error occurred. |
Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.