Menghapus pengguna ACL kontrol akses.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rocketmq:DeleteInstanceAccount |
delete |
*Instance
|
None | None |
Sintaks permintaan
DELETE /instances/{instanceId}/accounts/{username} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
ID instans. |
rmq-cn-7e22ody**** |
| username |
string |
Yes |
Nama akun. |
xxx |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Result |
||
| requestId |
string |
The request ID. |
157DF7D4-53FB-58C6-BEBC-A9400E7EF68A |
| success |
boolean |
Indicates whether the request was successful. |
true |
| data |
boolean |
The returned data. |
true |
| code |
string |
The error code. |
Instance.NotFound |
| message |
string |
The error message. |
Parameter instanceId is mandatory for this action . |
| 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 because the Resource Access Management (RAM) user does not have the required permissions. |
xxx |
Contoh
Respons sukses
JSONformat
{
"requestId": "157DF7D4-53FB-58C6-BEBC-A9400E7EF68A",
"success": true,
"data": true,
"code": "Instance.NotFound",
"message": "Parameter instanceId is mandatory for this action .",
"httpStatusCode": 200,
"dynamicCode": "InstanceId",
"dynamicMessage": "InstanceId",
"accessDeniedDetail": "xxx"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.