Deletes permissions on a topic.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mq:DeleteCustomAuthPermission |
delete |
*Instance
|
None | None |
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 elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
34063BCA-0946-49C1-B824-2ED2C905**** |
| Code |
integer |
The HTTP status code. |
200 |
| Success |
boolean |
Indicates whether the request is successful. Valid values: true and false. |
True |
| Message |
string |
The message returned. |
operation success. |
Examples
Success response
JSON format
{
"RequestId": "34063BCA-0946-49C1-B824-2ED2C905****",
"Code": 200,
"Success": true,
"Message": "operation success."
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.