UpdateVocabulary
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.
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 resourcesis 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.
| Operation | Access level | Resource type | Condition key | Related operation |
|---|---|---|---|---|
| bailianvoicebot:UpdateVocabulary | update | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| BusinessUnitId | string | Yes | The ID of the Model Studio business space. | llm-c11iig67g863rih8 |
| VocabularyId | string | Yes | The ID of the vocabulary. | d74d6290-7cbe-4436-b5d7-014ebb0f4061 |
| Name | string | Yes | The name of the vocabulary. | Finance hot words |
| Description | string | No | The description of the vocabulary. | Contains finance-domain terminology |
| Words | object | Yes | The list of hot words. | |
| string | No |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | D771A1B6-3D5F-174A-BEE1-98CE1000D337 |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error message. | Instance llm-zzu528i29ecnprcl does not exist. |
| Code | string | The internal error code. | OK |
| Data | string | The ID of the vocabulary. | 82ea16d1-425c-4c03-9be5-cc91de9779ed |
| Params | array | The list of dynamic error parameters. | |
| param | string | 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 time | Change summary | Operation |
|---|---|---|
| 2026-04-22 | New OpenAPI | View change details |