Skip to main content
DELETE
/
assistants
/
{assistant_id}
Delete an assistant
curl --request DELETE \
  --url https://api.anyapi.ai/v1/assistants/{assistant_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "assistant.deleted",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Get your API key from the dashboard.

Path Parameters

assistant_id
string
required

The ID of the assistant to delete

Response

Assistant deleted successfully

id
string

Assistant ID

object
string
Example:

"assistant.deleted"

deleted
boolean
Example:

true