UpdateVocabulary

Updated at:

Updates a vocabulary.

Debug

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

Debug

Authorization information

The following table describes the authorization information of the API. You can use the Action element in a RAM policy statement to grant RAM users or RAM roles 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 that can be authorized in the operation. Details:

    • Resource types that are required are indicated with a leading asterisk (*).
    • For operations that do not support resource-level authorization, All resources is used.
  • Condition key: the condition keys defined by the cloud service itself.

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

OperationAccess levelResource typeCondition keyRelated operation
bailianvoicebot:UpdateVocabularyupdate
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
BusinessUnitIdstringYes

The ID of the Model Studio business space.

llm-c11iig67g863rih8
VocabularyIdstringYes

The ID of the vocabulary.

d74d6290-7cbe-4436-b5d7-014ebb0f4061
NamestringYes

The name of the vocabulary.

Finance hot words
DescriptionstringNo

The description of the vocabulary.

Contains finance-domain terminology
WordsobjectYes

The list of hot words.

stringNo

Response parameters

NameTypeDescriptionExample value
object

Schema of Response

RequestIdstring

Id of the request

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

The HTTP status code.

200
Messagestring

The error message.

Instance llm-zzu528i29ecnprcl does not exist.
Codestring

The internal error code.

OK
Datastring

The ID of the vocabulary.

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

The list of dynamic error parameters.

paramstring

A dynamic error parameter.

llm-zzu528i29ecnprcl

Examples

Success response

JSON format

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

Error codes

Visit the Error Center to view more error codes.

Change history

Change timeChange summaryOperation
2026-04-22New OpenAPIView change details