Skip to navigation

Delete agent

Delete an agent

Path parameters

agent_idstringRequired
The id of an agent. This is returned on agent creation.

Headers

xi-api-keystringOptional

Query parameters

forcebooleanOptionalDefaults to false
If set to true, the agent is deleted even if other agents use it as a subagent, and it is removed from those agents and their branches.

Errors

422
Agents Delete Request Unprocessable Entity Error