Delete a specific assistant by ID
cURL
curl --request DELETE \ --url https://api.anyapi.ai/v1/assistants/{assistant_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "object": "assistant.deleted", "deleted": true }
Bearer token authentication. Get your API key from the dashboard.
The ID of the assistant to delete
Assistant deleted successfully
Assistant ID
"assistant.deleted"
true