> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev.setoo.work/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete agent

> Permanently delete an agent

<Callout type="warning">
  This action cannot be undone. All associated call logs and analytics are deleted
  along with the agent. This endpoint's exact behavior is not independently
  verified in this documentation set — confirm on a test agent before relying on
  it in production.
</Callout>

### Path parameters

<ParamField path="id" type="string" required>
  The agent ID
</ParamField>

<CodeGroup>
  ```bash curl theme={null}
  curl -X DELETE https://api.agentic-os.com/api/v1/agents/AGENT_ID \
    -H "Authorization: Bearer $AGENTIC_OS_API_KEY"
  ```

  ```python Python theme={null}
  requests.delete(
      "https://api.agentic-os.com/api/v1/agents/AGENT_ID",
      headers={"Authorization": f"Bearer {API_KEY}"},
  )
  ```
</CodeGroup>

### Response

Returns `204 No Content` on success.
