You can call this operation to delete a gateway.

Note If a running instance exists under the gateway, you must stop the instance before the gateway can be deleted.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteGateway

The operation that you want to perform. Set the value to DeleteGateway.

GatewayId String Yes dg-yhss6sdlaffaq68

The ID of the gateway.

Response parameters

Parameter Type Example Description
Code String OK

The response code.

Data String xxx

The returned result.

ErrorMsg String None

The error message.

RequestId String CDDAAA07-D806-AG67-BEE8-1E43AAE024DD

The ID of the request.

Success Boolean true

Indicates whether the call is successful.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.