Deletes an SSL server.
Usage notes
- The DeleteSslVpnServer operation is asynchronous. After you send a request, the system returns a request
ID. However, the operation is still being performed in the system background. You
can call the DescribeVpnGateway operation to query the status of an SSL server based on the status of the associated
VPN gateway.
- If the VPN gateway is in the updating state, the SSL server is being deleted.
- If the VPN gateway is in the active state, the SSL server is deleted.
- You cannot repeatedly call the DeleteSslVpnServer operation to delete an SSL server from the same VPN gateway within the specified period of time.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteSslVpnServer |
The operation that you want to perform. Set the value to DeleteSslVpnServer. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region where the SSL servers are created. You can call the DescribeRegions operation to query the most recent region list. |
ClientToken | String | No | 02fb3da4-130e-11e9-8e44-0016e04115b |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters. Note If you do not set this parameter, the system automatically uses RequestId as ClientToken. RequestId of each API request may be different.
|
SslVpnServerId | String | Yes | vss-bp18q7hzj6largv4v**** |
The ID of the SSL server. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 606998F0-B94D-48FE-8316-ACA81BB230DA |
The ID of the request. |
Examples
Sample requests
https://vpc.aliyuncs.com/?Action=DeleteSslVpnServer
&RegionId=cn-hangzhou
&SslVpnServerId=vss-bp18q7hzj6largv4v****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<?xml version="1.0" encoding="UTF-8"?>
<DeleteSslVpnServerResponse>
<RequestId>606998F0-B94D-48FE-8316-ACA81BB230DA</RequestId>
</DeleteSslVpnServerResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "606998F0-B94D-48FE-8316-ACA81BB230DA"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | VpnGateway.Configuring | The specified service is configuring. | The error message returned because the specified service is being configured. Try again later. |
400 | VpnGateway.FinancialLocked | The specified service is financial locked. | The error message returned because the service is suspended due to overdue payments. Top up your account first. |
403 | Forbbiden.SubUser | User not authorized to operate on the specified resource as your account is created by another user. | The error message returned because you are unauthorized to perform this operation on the specified resource. Apply for the required permissions and try again. |
403 | Forbidden | User not authorized to operate on the specified resource. | The error message returned because you are unauthorized to perform this operation on the specified resource. Apply for the required permissions and try again. |
For a list of error codes, visit the API Error Center.