Deletes a custom authorization identity.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mq:DeleteCustomAuthIdentity |
delete |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the ApsaraMQ for MQTT instance. |
post-cn-0pp12gl**** |
| Username |
string |
Yes |
The username. |
test |
| IdentityType |
string |
Yes |
The identity type. Valid values:
|
USER |
| ClientId |
string |
No |
The client ID if you set IdentityType to CLIENT. |
GID_test@@@test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
11568B5B-13A8-4E72-9DBA-3A14F7D3**** |
| Code |
integer |
The HTTP status code. A value of 200 indicates success. Other values indicate a failure. |
200 |
| Success |
boolean |
Indicates whether the operation succeeded. Valid values: true and false. |
True |
| Message |
string |
The returned message. |
operation success. |
Examples
Success response
JSON format
{
"RequestId": "11568B5B-13A8-4E72-9DBA-3A14F7D3****",
"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.