Skip to content
Get started

Delete an assistant

assistants.delete(strid) -> AssistantDeleteResponse
DELETE/assistants/{id}

Permanently delete an assistant by its ID. Any future calls referencing this assistant ID will fail. Existing call records that used this assistant are not affected.

ParametersExpand Collapse
id: str
ReturnsExpand Collapse
class AssistantDeleteResponse:
success: bool

Delete an assistant

import os
from revox import Revox

client = Revox(
    api_key=os.environ.get("REVOX_API_KEY"),  # This is the default and can be omitted
)
assistant = client.assistants.delete(
    "id",
)
print(assistant.success)
{
  "success": true
}
Returns Examples
{
  "success": true
}