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.

Delete Agent

Delete an agent configured for your workspace.

Deletes an agent by its numeric id, scoped to the workspace. The agent is archived and stops monitoring immediately; signals it already surfaced are preserved. Returns 404 when the agent does not exist.

Delete agent

DELETE/api/v2/agents/:agent_id

Path parameters

ParameterTypeDescription
agent_idintegerIdentifier of the agent.

Example request

curl -X DELETE "https://api.getsillage.com/api/v2/agents/42" \
  -H "Authorization: Bearer $SILLAGE_API_KEY"

Example response

{
  "data": {
    "id": 42
  }
}

Response fields

FieldTypeDescription
data.idintegerIdentifier of the deleted agent.

Errors

StatusDescription
401The API key is missing or invalid.
402Your workspace has no active plan. title is "Paywall required" and type is https://docs.getsillage.com/errors/paywall-required. Start your trial or choose a plan at https://www.getsillage.com/paywall, then retry.
404The agent does not exist.
422Invalid agent_id — must be a positive integer.

On this page