Menghapus sumber daya yang diotorisasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:DeleteAuthResource |
delete |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
ID tujuan. |
36 |
| GatewayUniqueId |
string |
Yes |
ID unik gerbang. |
gw-3f97e2989c344f35ab3fd62b19f1**** |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data structure. |
||
| RequestId |
string |
The ID of the request. |
559412D1-BFCE-53CC-B88E-0192C331EF44 |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The message returned. |
The request is successfully processed. |
| Code |
integer |
The status code returned. |
1 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
object |
The returned data. |
|
| Id |
integer |
The ID of the primary key. |
12 |
| AuthId |
integer |
The authentication ID. |
253 |
| GatewayUniqueId |
string |
The unique ID of the gateway. |
gw-7ea3da97b96543e19f6c597cd4a9**** |
| GatewayId |
integer |
The ID of the gateway. |
gw-7ea3da97b96543e19f6c597cd4a9**** |
| DomainId |
integer |
The ID of the domain name. |
235 |
| DomainName |
string |
The domain name. |
name |
| Path |
string |
The path. |
/zookeeper |
| IsWhite |
boolean |
Indicates whether the whitelist mode is enabled. |
true |
| GmtCreate |
string |
The creation time. |
2022-01-07T10:07:57.000+0000 |
| GmtModified |
string |
The modification time. |
2022-01-07T10:07:57.000+0000 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "559412D1-BFCE-53CC-B88E-0192C331EF44",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 1,
"Success": true,
"Data": {
"Id": 12,
"AuthId": 253,
"GatewayUniqueId": "gw-7ea3da97b96543e19f6c597cd4a9****",
"GatewayId": 0,
"DomainId": 235,
"DomainName": "name",
"Path": "/zookeeper",
"IsWhite": true,
"GmtCreate": "2022-01-07T10:07:57.000+0000",
"GmtModified": "2022-01-07T10:07:57.000+0000"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.