v2DeprecatedAgents
Delete Agent
Remove an agent from a partner workspace.
Removes an agent. It is disabled and no longer returned by the list or get endpoints. Signals already produced by the agent are preserved.
Delete an agent
DELETE/api/v2/partner/workspaces/{partner_workspace_id}/agents/{agent_id}
Path parameters
| Parameter | Type | Description |
|---|---|---|
| partner_workspace_id | string | Opaque workspace identifier from the partner system. |
| agent_id | integer | Numeric id of the agent. This ID is specific to your environment. |
Example request
curl -X DELETE "https://api.getsillage.com/api/v2/partner/workspaces/ws_123/agents/42" \
-H "Authorization: Bearer $SILLAGE_API_KEY"Example response
{
"data": {
"id": 42
}
}Errors
| Status | Meaning |
|---|---|
| 401 | The master key is missing or invalid. |
| 402 | This workspace is not on a plan that allows agents. |
| 403 | The master key is not authorized to access this resource. |
| 404 | No agent found for this agent_id. |
| 422 | Invalid request body or agent_id. |
| 429 | Rate limit exceeded. |
| 500 | An unexpected server error occurred. |
Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.