Request
string
required
The unique ID of the agent to delete. This is supplied as a path parameter in the URL.
Example
Response
A successful200 OK response confirms the agent has been permanently deleted.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Permanently delete a Botsify agent by its ID. All associated data, including conversation history, flows, and settings, is removed and cannot be recovered.
curl --request DELETE \
--url https://app.botsify.com/api/v1/delete-agent/12345 \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
200 OK response confirms the agent has been permanently deleted.
| Field | Type | Description |
|---|---|---|
id | string | The ID of the agent that was deleted. |
success | boolean | true when the agent was successfully deleted. |
message | string | A human-readable confirmation message. |
{
"id": "12345",
"success": true,
"message": "Agent successfully deleted."
}
