v2DeprecatedWorkspaces
Delete a workspace
Delete a workspace and hide it everywhere, without losing its data.
Deletes the workspace. It stops being served anywhere: its API keys stop working, it disappears from listings, and no automation runs for it. Nothing is destroyed, billing history is preserved, and the workspace can be brought back at any time with the restore endpoint. Deleting a workspace that is already deleted succeeds and makes no changes.
This is different from archiving, which is a separate, deliberate way to deactivate a workspace and does not delete it.
Delete a workspace
DELETE/api/v2/partner/workspaces/{partner_workspace_id}
Path parameters
| Parameter | Type | Description |
|---|---|---|
| partner_workspace_id | string | Opaque workspace identifier from the partner system. |
Example request
curl -X DELETE "https://api.getsillage.com/api/v2/partner/workspaces/ws_123" \
-H "Authorization: Bearer $SILLAGE_API_KEY"Returns 204 No Content on success.
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. |
| 429 | Too many requests. |
| 500 | An unexpected server error occurred. |
Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.