> ## Documentation Index
> Fetch the complete documentation index at: https://opensandbox-oc-s-762ac928075c46d2828bcb22.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Agent

Delete an agent. Cascades to all instances and sessions — their sandboxes are destroyed.

**CLI equivalent:** `oc agent delete <id>`

<ParamField path="agentId" type="string" required>
  Agent ID
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {}
  ```
</ResponseExample>
