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

# Delete Agent

> This endpoint deletes an agent.

### Path Parameters

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

### Response

<ResponseField name="id" type="string">
  This is the id of the agent.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request DELETE 'https://api.stateset.com/v1/agents/agent_123' \
  --header 'Authorization: Bearer <api_key>'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
      "id": "2438cf38-4004-41d3-8c90-131735ff7d00"
  }
  ```
</ResponseExample>
