Menghapus izin pada suatu topik.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mq:DeleteCustomAuthPermission |
delete |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans ApsaraMQ for MQTT. |
mqtt-cn-0pp1ldu**** |
| IdentityType |
string |
Yes |
Tipe identitas. Nilai yang valid:
|
USER |
| Identity |
string |
Yes |
Username atau client ID. |
test |
| Topic |
string |
Yes |
Topik tempat Anda ingin memberikan izin. Topik multi-level dan karakter Wildcard didukung. |
test/t1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
34063BCA-0946-49C1-B824-2ED2C905**** |
| Code |
integer |
Kode status HTTP. |
200 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid: true dan false. |
True |
| Message |
string |
Pesan yang dikembalikan. |
operation success. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "34063BCA-0946-49C1-B824-2ED2C905****",
"Code": 200,
"Success": true,
"Message": "operation success."
}
Kode kesalahan
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.