Menghapus izin akun tertentu pada instans.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rocketmq:DeleteInstanceAcl |
delete |
*Instance
|
None | None |
Sintaks permintaan
DELETE /instances/{instanceId}/acl/account/{username} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
ID instans. |
rmq-cn-7e22ody**** |
| username |
string |
Yes |
Nama pengguna akun. |
test |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| resourceType |
string |
Yes |
Tipe Sumber daya tempat izin diberikan. Nilai valid:
Valid values:
|
Topic |
| resourceName |
string |
Yes |
Nama Sumber daya tempat izin diberikan. |
test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The result. |
||
| requestId |
string |
The request ID. |
7358418D-83BD-507A-8079-***** |
| success |
boolean |
Indicates whether the request was successful. |
true |
| data |
boolean |
The returned data. |
true |
| code |
string |
The error code. |
MissingInstanceId |
| message |
string |
The error message. |
The instance cannot be found. |
| httpStatusCode |
integer |
The HTTP status code. |
200 |
| dynamicCode |
string |
The dynamic error code. |
InstanceId |
| dynamicMessage |
string |
The dynamic error message. |
instanceId |
| accessDeniedDetail |
string |
The details about the access denial. This parameter is returned only if the access is denied due to the reason that the Resource Access Management (RAM) user does not have the required permissions. |
xxx |
Contoh
Respons sukses
JSONformat
{
"requestId": "7358418D-83BD-507A-8079-*****",
"success": true,
"data": true,
"code": "MissingInstanceId",
"message": "The instance cannot be found.",
"httpStatusCode": 200,
"dynamicCode": "InstanceId",
"dynamicMessage": "instanceId",
"accessDeniedDetail": "xxx"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.