UpdateVoiceAccessProfile

Updated at:

Updates a voice access profile.

Debug

You can directly invoke this API in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.

RAM authorization

The following table lists the authorization information of this API, which can be used in the Action element of a RAM policy statement to grant a RAM user or RAM role the permission to call this API. Details:

  • Operation: the specific permission point.

  • Access level: the access level of each operation. Valid values: Write, Read, and List.

  • Resource type: the resource types supported for authorization in the operation. Details:

    • For required resource types, the prefix * is added.
    • For operations that do not support resource-level authorization, All resources is used.
  • Condition keyword: the condition keywords defined by the cloud product itself.

  • Related operation: other permissions required to successfully execute the operation. The caller must have the permissions of the related operations to succeed.

Operation

Access level

Resource type

Condition keyword

Related operation

bailianvoicebot:UpdateVoiceAccessProfile

update

*All resources

*

NoneNone

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

BusinessUnitId

string

No

The ID of the Bailian business unit.

llm-xdne77rxe14ziszr

AccessProfileId

string

No

The configuration ID.

af81a389-91f0-4157-8d82-720edd02b66b

NlsEngine

string

No

The voice engine.

BAILIAN

Profile

object

No

The parameter configuration.

AppKey

string

No

Required when the voice engine is Doubao.

2541370123

AccessKey

string

No

Required when the voice engine is Doubao.

HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9

AppId

string

No

Required when the voice engine is iFLYTEK.

5b123bfb

ApiKey

string

No

Required when the voice engine is Bailian or iFLYTEK.

sk-12341e259b1049e8872b47981e545f78

ApiSecret

string

No

Required when the voice engine is iFLYTEK.

c0358c6e51c1013b446fdeb21a3a1234

AsrAppKey

string

No

This parameter is not used.

N/A

TtsApiKey

string

No

This parameter is not used.

N/A

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

D771A1B6-3D5F-174A-BEE1-98CE1000D337

HttpStatusCode

integer

HTTP status code

200

Message

string

Error message

Instance llm-baployoyopf22m2r does not exist.

Code

string

Internal error code

OK

Data

string

The variable ID.

82ea16d1-425c-4c03-9be5-cc91de9779ed

Params

array

A list of dynamic error parameters

string

A dynamic error parameter

llm-xdne77rxe14ziszr

Examples

Success response example

JSON format

{
  "RequestId": "D771A1B6-3D5F-174A-BEE1-98CE1000D337",
  "HttpStatusCode": 200,
  "Message": "Instance llm-baployoyopf22m2r does not exist.",
  "Code": "OK",
  "Data": "82ea16d1-425c-4c03-9be5-cc91de9779ed",
  "Params": [
    "llm-xdne77rxe14ziszr"
  ]
}

Error codes

Visit the Error Center to view more error codes.

Change history

For more information, see Change details.