Deleting a gateway
Operation description
Deletes a gateway group. After the gateway group is deleted, its FE nodes are automatically assigned to the default gateway group.
Try it now
Test
RAM authorization
Request syntax
POST /webapi/gateway/delete HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The instance ID. |
c-b25e21e24388**** |
| GatewayId |
string |
No |
The gateway ID. |
dg-2r69r8kpmn56k5s3 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
32A44F0D-BFF6-5664-999A-218BBDE74XXX |
| Success |
boolean |
Indicates whether the request was successful. |
True |
| ErrCode |
string |
The error code. |
InvalidParams |
| ErrMessage |
string |
The error message. |
Invalid params: [instance not exists]. |
| Data |
boolean |
The data returned. |
24151320976**** |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "32A44F0D-BFF6-5664-999A-218BBDE74XXX",
"Success": true,
"ErrCode": "InvalidParams",
"ErrMessage": "Invalid params: [instance not exists].",
"Data": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.