DeleteVocabulary

Updated at:

Deletes a vocabulary.

Try it now

You can call this API directly 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 describes the authorization information of this 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. For more information, see:

  • 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 you can authorize for the operation. For more information, see:

    • Resource types marked with an asterisk (*) are required.
    • If an operation does not support resource-level authorization, 全部资源 is used.
  • Condition keyword: the condition keys that are defined by the cloud service.

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

Operation

Access level

Resource type

Condition keyword

Related operation

bailianvoicebot:DeleteVocabulary

delete

*All resources

*

N/AN/A

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

BusinessUnitId

string

No

The ID of the Bailian business space.

llm-c11iig67g863rih8

VocabularyId

string

No

The ID of the vocabulary.

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

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

CF6D3484-19A1-5C77-863B-AC8B5754D37C

Code

string

The internal error code.

OK

HttpStatusCode

integer

The HTTP status code.

200

Message

string

The error message.

Instance llm-baployoyopf22m2r does not exist.

Data

string

The vocabulary ID.

a395011f-a247-400f-bc69-28796749fd52

Params

array

The dynamic error parameter list.

string

The dynamic error parameter.

llm-xdne77rxe14ziszr

Examples

Success response

JSON format

{
  "RequestId": "CF6D3484-19A1-5C77-863B-AC8B5754D37C",
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "Instance llm-baployoyopf22m2r does not exist.",
  "Data": "a395011f-a247-400f-bc69-28796749fd52",
  "Params": [
    "llm-xdne77rxe14ziszr"
  ]
}

Error codes

Visit the Error Center to view more error codes.

Release notes

For more information, see Change details.