PUT
/
api
/
v1
/
pronunciation-dicts
Update pronunciation dictionary
curl --request PUT \
  --url https://waves-api.smallest.ai/api/v1/pronunciation-dicts \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "64f1234567890abcdef12345",
  "items": [
    {
      "word": "mysql",
      "pronunciation": "my-sequel"
    }
  ]
}'
{
  "id": "64f1234567890abcdef12345",
  "items": [
    {
      "word": "mysql",
      "pronunciation": "my-sequel"
    },
    {
      "word": "goodbye",
      "pronunciation": "goodbai"
    }
  ]
}

Body

application/json
id
string
required

ID of the pronunciation dictionary to update

Minimum length: 1
Example:

"64f1234567890abcdef12345"

items
object[]
required

Updated list of word-pronunciation pairs

Response

Successfully updated pronunciation dictionary

id
string
required

ID of the updated pronunciation dictionary

Example:

"64f1234567890abcdef12345"

items
object[]
required

Updated list of word-pronunciation pairs