DELETE
/
agent
/
{agentId}
/
webhook-subscriptions
curl --request DELETE \
  --url https://atoms-api.smallest.ai/api/v1/agent/{agentId}/webhook-subscriptions \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "data": "Subscriptions deleted successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required

The ID of the agent to filter subscriptions by

Response

200
application/json

Subscriptions deleted successfully

The response is of type object.