Menghapus identitas untuk otorisasi kustom.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mq:DeleteCustomAuthIdentity |
delete |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans ApsaraMQ for MQTT. |
post-cn-0pp12gl**** |
| Username |
string |
Yes |
Username. |
test |
| IdentityType |
string |
Yes |
Tipe identitas. Nilai yang valid:
|
USER |
| ClientId |
string |
No |
ID client jika Anda mengatur IdentityType ke CLIENT. |
GID_test@@@test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
11568B5B-13A8-4E72-9DBA-3A14F7D3**** |
| Code |
integer |
Kode status HTTP. Kode status 200 menunjukkan bahwa permintaan berhasil. Kode status lainnya menunjukkan bahwa permintaan gagal. |
200 |
| Success |
boolean |
Menunjukkan apakah operasi berhasil. Nilai yang valid: true dan false. |
True |
| Message |
string |
Pesan yang dikembalikan. |
operation success. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "11568B5B-13A8-4E72-9DBA-3A14F7D3****",
"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.