Delete Voice Assistant

Delete a voice assistant.

This endpoint will:

  1. Delete the assistant from VC
  2. Delete our database record

Parameters: assistant_id (int): The ID of the voice assistant to delete. request (Request): The FastAPI request object. db (AsyncSession): The database session (injected). organization_id (Optional[int]): The organization ID from the API key or request.

Returns: VoiceAssistant: The deleted voice assistant.

Raises: HTTPException: - 400: If organization ID is missing - 404: If assistant not found or not accessible - 500: If VC deletion fails or other unexpected errors occur

Language
Credentials
Header
Click Try It! to start a request and see the response here!