Update Service Account Configuration
Use this API to update a service account configuration in the Speech Server.
|
HTTP Method |
PUT |
|
URI |
https://<serverip/hostname/FQDN>/speechconfig/rest/config/ <service_type>/serviceaccount/<service account name> |
|
Valid Values |
ASR, TTS, NLP |
|
Content Type |
Application/JSON, Application/XML |
|
HTTP Success Code |
200 OK - Successful |
|
HTTP Failure Code |
4xx - Client Error 5xx - Server Error |
Parameters
Refer to the Data Structure for Speech Configuration section for the list of parameters.
Sample Request
<speechConfig>
<serviceAccount>
<providerName>dialogFlow</providerName>
<name>cisco-dev-9gkv</ >
<description>Updating Service Account description</description>
<isDefault>true</isDefault>
<authKey>Key String</authKey>
<properties>
<property>
<key>default-language</key>
<value>en-US</value>
</property>
</properties>
<languageSettings>
<languageSetting>
<code>en-US</code>
<gender>Male</gender>
<voiceName>Bob</voiceName>
</languageSetting></languageSettings>
</serviceAccount>
</speechConfig>