Update Custom Voice Phrase Content
PUT {{apiPath}}/environments/{{envID}}/voicePhrases/{{voicePhraseID}}/contents/{{voiceContentsID}}
Use the PUT {{apiPath}}/environments/{{envID}}/voicePhrases/{{voicePhraseID}}/contents/{{voiceContentsID}}
request to update contents for a custom verify voice phrase in the environment.
Property | Type | Required? |
---|---|---|
locale | String | Required |
content | String | Required |
For the locale property value, PingOne supports language tags with quality values as described in Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content. The content property value is the phrase users must speak as part of voice enrollment or verification. Users are shown the value of this content property during enrollment or verification. Therefore, the phrase must be written in the language (and in the character set required by that language, if needed) specified in the locale property.
Request Body
{"locale"=>"en", "content"=>"Brilliant journeys to any digital destination"}
RESPONSES
status: OK
{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/voicePhrases/cf872c92-0112-44d3-b440-5453a76f9138/contents/922b0192-b8c0-498e-8b98-24be19ac97df"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"voicePhrase":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/voicePhrases/cf872c92-0112-44d3-b440-5453a76f9138"}},"id":"922b0192-b8c0-498e-8b98-24be19ac97df","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"voicePhrase":{"id":"cf872c92-0112-44d3-b440-5453a76f9138"},"locale":"en","content":"Brilliant journeys to any digital destination","createdAt":"2022-08-24T18:47:28.973Z","updatedAt":"2022-08-24T18:48:12.334Z"}