Note:
This is a legacy API which has been hidden and will no longer be updated. We recommend using the new VPC API 3.0 which is standardized and faster.
This API (DeleteUserGw) is used to delete customer gateway.
Domain for API request: vpc.api.qcloud.com
The following request parameter list only provides API request parameters. Common request parameters need to be added when the API is called. For more information, refer to Common Request Parameters. The Action field for this API is DeleteUserGw.
Parameter Name | Required | Type | Description |
---|---|---|---|
userGwId | Yes | String | Customer gateway ID, for example: cgw-ekrvxcdv. You can query customer gateways by using the DescribeUserGw API. |
Parameter Name | Type | Description |
---|---|---|
code | Int | Common error code; 0: Succeeded; other values: Failed. For more information, please refer to Common Error Codes on the Error Code page. |
message | String | Module error message description depending on API. |
The following list only provides the business logic error codes for this API. For additional common error codes, refer to VPC Error Codes.
Error code | Description |
---|---|
InvalidUserGw.NotFound | Invalid customer gateway. Customer gateway resource does not exist. Please verify that the resource information you entered is correct. |
Input
https://vpc.api.qcloud.com/v2/index.php?Action=DeleteUserGw &<Common request parameters> &userGwId=cgw-ekrvxcdv
Output
{
"code":"0",
"message":""
}
Was this page helpful?