Skip to main content
DELETE
/
api
/
agents
/
{agent_uid}
/
triggers
/
{trigger_uid}
Delete trigger
curl --request DELETE \
  --url https://api.example.com/api/agents/{agent_uid}/triggers/{trigger_uid}
Removes a trigger from an agent.

Path parameters

agent_uid
string
required
UUID of the agent.
trigger_uid
string
required
UUID of the trigger to remove.

Response

Returns 200 on success:
{
  "status": "success",
  "status_code": 200,
  "message": "Trigger deleted"
}

Errors

StatusReason
404Agent or trigger not found
To temporarily disable a trigger without removing it, use Update trigger and set is_active to false.