Melepaskan nama domain kustom dari gerbang privat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:DetachGatewayDomain |
delete |
*All Resource
|
None | None |
Sintaks permintaan
PUT /api/v2/gateways/{ClusterId}/{GatewayId}/domain/detach HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
Wilayah tempat gerbang privat berada. |
cn-shanghai |
| GatewayId |
string |
Yes |
ID gerbang privat. Untuk mendapatkan ID gerbang privat, lihat parameter GatewayId pada parameter tanggapan operasi ListGateway. |
gw-1uhcqmsc7x22****** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CustomDomain |
object |
Yes |
Informasi nama domain kustom. |
|
| Type |
string |
Yes |
The domain name type. Valid value:
Valid values:
|
intranet |
| Domain |
string |
Yes |
The custom domain name. |
test.com |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The ID of the request. |
40325405-579C-4D82**** |
| GatewayId |
string |
The ID of the private gateway. To obtain the private gateway ID, see the GatewayId parameter in the response parameters of the ListGateway operation. |
gw-1uhcqmsc7x22****** |
| Message |
string |
The message that is returned. |
Successfully delete custom endpoint for gateway gw-1uhcqmsc7x22****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "40325405-579C-4D82****",
"GatewayId": "gw-1uhcqmsc7x22******",
"Message": "Successfully delete custom endpoint for gateway gw-1uhcqmsc7x22******\n"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.