# Delete an agent (/th/growsocmed/docs/api-reference/ai-agents/delete-agent)

Delete an agent (automations using it fall back to their own message)

DELETE /agents/{id}

```json
{
  "tags": [
    "AI agents"
  ],
  "summary": "Delete an agent",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "format": "uuid"
      },
      "required": true,
      "name": "id",
      "in": "path"
    }
  ],
  "responses": {
    "204": {
      "description": "Deleted"
    }
  },
  "operationId": "delete-agent",
  "description": "Delete an agent (automations using it fall back to their own message)"
}
```