DisableSubscription

Updated at:

Disables a message subscription.

Try it now

You can run 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 lists the authorization information for this API. You can reference the Action element in a RAM permission policy statement to grant RAM users or RAM roles the permission to call this API. For more information, see the following:

  • 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 the operation supports for authorization. For more information, see the following:

    • For required resource types, an asterisk (*) is prefixed.
    • 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.

Operation

Access level

Resource type

Condition key

Related operation

bailianvoicebot:DisableSubscription

update

*All resources

*

NoneNone

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

BusinessUnitId

string

No

The Model Studio business unit ID.

llm-3pptowd2olrctsvc

Response elements

Element

Type

Description

Example

object

The response schema.

RequestId

string

The ID of the request.

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

HttpStatusCode

integer

The HTTP status code.

200

Message

string

The error message.

Instance llm-baployoyopf22m2r does not exist.

Code

string

The internal error code.

OK

Data

string

Not in use.

Not in use

Params

array

The list of dynamic error parameters.

string

The dynamic error parameter.

llm-xdne77rxe14ziszr

Examples

Success response

JSON format

{
  "RequestId": "D771A1B6-3D5F-174A-BEE1-98CE1000D337",
  "HttpStatusCode": 200,
  "Message": "Instance llm-baployoyopf22m2r does not exist.",
  "Code": "OK",
  "Data": "暂无使用",
  "Params": [
    "llm-xdne77rxe14ziszr"
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.