Skip to main content
DELETE
/
v2
/
tts
/
voices
/
{id}
Delete TTS voice
curl --request DELETE \
  --url https://api.tryhamsa.com/v2/tts/voices/{id} \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "message": "TTS voice deleted successfully",
  "messageKey": "OPERATION_SUCCESSFUL"
}

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Path Parameters

id
string<uuid>
required

Voice identifier.

Example:

"48f7656f-098b-4c43-b165-7cfd2cc8ac30"

Query Parameters

projectId
string
required

Project identifier.

Example:

"ae6d58c6-c6bd-4ae0-ad74-b8b39c29928b"

Response

Voice deleted successfully.

success
boolean
Example:

true

message
string
Example:

"TTS voice deleted successfully"

messageKey
string
Example:

"OPERATION_SUCCESSFUL"