For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
CommunityAPI StatusAPI PricingSign Up
DocumentationAPI ReferencesCookbookIntegrationDeveloper Tools
DocumentationAPI ReferencesCookbookIntegrationDeveloper Tools
  • API Reference
    • Introduction
    • Authentication
    • Access to Beta APIs
    • Meta Prompt Guide
  • Endpoints
      • POSTCreate
      • GETList
      • GETGet
      • PUTUpdate
      • DELDelete
LogoLogo
CommunityAPI StatusAPI PricingSign Up
EndpointsPronunciation Dictionary

Delete

||View as Markdown|
DELETE
https://api.sarvam.ai/text-to-speech/pronunciation-dictionary
DELETE
/text-to-speech/pronunciation-dictionary
$curl -X DELETE "https://api.sarvam.ai/text-to-speech/pronunciation-dictionary?dict_id=dict_9f8b7c6a" \
> -H "api-subscription-key: <apiSubscriptionKey>" \
> -H "Content-Type: application/json" \
> -d '{}'
1{
2 "success": true,
3 "message": "Dictionary 'dict_9f8b7c6a' deleted successfully"
4}

Delete a pronunciation dictionary by its ID. Once deleted, the dictionary can no longer be referenced in text-to-speech requests.

Was this page helpful?
Previous

Translation

Next
Built with

Authentication

api-subscription-keystring
API Key authentication via header

Query parameters

dict_idstringRequired
ID of the dictionary to delete

Response

Successful Response
successboolean
Whether the deletion was successful.
messagestring

Human-readable status message (e.g. “Dictionary ‘p_5cb7faa6’ deleted successfully”).

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error