get https://example.com
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
Parameter | Type | Required | Description |
---|---|---|---|
agent_id | string | ✓ | Unique identifier of the flow agent to delete |
Authentication
Requires valid API key in Authorization header:
Authorization: Bearer your-api-key