delete https://api.voicecreator.ai/api/v1/voice-assistants/
Delete a voice assistant.
This endpoint will:
- Delete the assistant from VC
- 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