v1

latestOpenAPI 3.1.02026-07-1312416.2 KB

Delete Cloned Voice

Handles the DELETE operation for removing a cloned voice.

This endpoint deletes a cloned voice from the system based on the provided voice_id. The operation ensures that all associated data is removed.

Args: voice_id (str): The unique identifier of the voice to be deleted. This is passed as a query parameter.

Returns: dict: A JSON-compatible dictionary containing a success message and the voice_id of the deleted voice.

Raises: HTTPException: Raised if the provided voice_id is invalid or if the voice does not belong to the authenticated user.

delete/voices/{voice_id}

Path parameters

voice_idstring required

Query parameters

api_keystring nullable
jwt_tokenstring nullable

Headers

X-API-KEYstring nullable
authorizationstring nullable

Response

Successful Response

{"stackTrail":"paths:/voices/{voice_id}:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}