Delete an agent by its ID. This permanently removes the agent and revokes its access.
This action is irreversible. The agent will be permanently deleted.
Requires Bearer token authentication
Path Parameters
Example
curl -X DELETE "https://api.garnet.ai/v1/agents/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer $GARNET_API_TOKEN"
Response
Returns 204 No Content on successful deletion.
Error Examples
{
"error": "Agent not found"
}
{
"error": "permission denied"
}