API v3 is live and in beta: expect possible malfunctions and breaking changes in the coming days. If you find a bug, please report it to your Sillage contact.
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

ParameterTypeDescription
partner_workspace_idstringOpaque workspace identifier from the partner system.
agent_idintegerNumeric 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

StatusMeaning
401The master key is missing or invalid.
402This workspace is not on a plan that allows agents.
403The master key is not authorized to access this resource.
404No agent found for this agent_id.
422Invalid request body or agent_id.
429Rate limit exceeded.
500An unexpected server error occurred.

Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.

On this page