Deletes permissions on a topic.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the ApsaraMQ for MQTT instance. | mqtt-cn-0pp1ldu**** |
IdentityType | string | Yes | The identity type. Valid values:
| USER |
Identity | string | Yes | The username or client ID. | test |
Topic | string | Yes | The topic on which you want to grant permissions. Multi-level topics and Wildcard characters are supported. | test/t1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "34063BCA-0946-49C1-B824-2ED2C905****",
"Code": 200,
"Success": true,
"Message": "operation success."
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | InstancePermissionCheckFailed | An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings. |
400 | InvalidParameter.%s | An error occurred while validating the parameter. The parameter may be missing or invalid. |
404 | ApiNotSupport | The specified API is not supported. |
For a list of error codes, visit the Service error codes.