Delete Ai Agent
REST API - Agents
Delete Agent
Permanently delete an AI agent and all associated resources
DELETE
Delete Ai Agent
Permanently delete an agent. This action cannot be undone.Documentation Index
Fetch the complete documentation index at: https://docs.xpander.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Unique identifier of the agent to delete (UUID format)
Response
Returns HTTP 202 Accepted with bodynull on successful deletion.
Example Request
Example Response
202 Accepted to indicate the deletion request has been accepted and will be processed asynchronously.
Notes
- All running tasks for this agent will be cancelled
- Agent configuration and execution history will be permanently removed
- This action cannot be undone
- Associated knowledge bases and tools are not deleted (they remain in your organization)
- You can also delete agents through the web dashboard at https://app.xpander.ai
- An agent can only be deleted if the
deletablefield istrue(use Get Agent to check)

