Delete

Destructive endpoint that demotes an agent (if deployed) followed by a DELETE from the DB. For demote-only, use the demote endpoint.

This endpoint performs a complete deletion of an agent, including:

  • Removing the agent from active deployment
  • Deleting all associated data from the database
  • Terminating any running processes

To temporarily disable an active agent without deletion, use the demote endpoint linked below.

Path parameters

ParameterTypeRequiredDescription
agent_idstringUnique identifier of the flow agent to delete

Authentication

Requires valid API key in Authorization header:

Authorization: Bearer your-api-key

Language
Click Try It! to start a request and see the response here!