Modifies the name of an SSL-VPN client certificate.

Debug

By using API Explorer, you can easily debug APIs, automatically generate SDK code examples, and quickly search for APIs.

Request parameters

Parameter Type Required? Example value Description
Action String Yes ModifySslVpnClientCert

The name of this action. Value:

ModifySslVpnClientCert

RegionId String Yes cn-hangzhou

The ID of the region to which the SSL-VPN client certificate belongs.

To query the region ID, call DescribeRegions.

SslVpnClientCertId String Yes vsc-bp1n8wcf134yl0osrcg98

The ID of the SSL-VPN client certificate.

ClientToken String No 02fb3da4-130e-11e9-8e44-0016e04115b

A client token used to guarantee the idempotence of requests.

This parameter value is generated by the client and must be unique. It must be 1 to 64 ASCII characters in length.

Name String No cert2

The name of the SSL-VPN client certificate.

The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter. It cannot start with http:// or https://.

Response parameters

Parameter Type Example value Description
Name String cert2 The name of the client certificate.
RequestId String 606998F0-B94D-48FE-8316-ACA81BB230DA The ID of the request.

Examples

Request example


https://vpc.aliyuncs.com/?Action=ModifySslVpnClientCert
&RegionId=cn-hangzhou
&SslVpnClientCertId=vsc-bp1n8wcf134yl0osrcg98
&Name=cert2
&<CommonParameters>
Response example
  • XML format

    <ModifySslVpnClientCertResponse>
      <SslVpnClientCertId>vsc-bp1n8wcf134yl0osrcg98</SslVpnClientCertId>
      <Name>cert2</Name>
      <RequestId>606998F0-B94D-48FE-8316-ACA81BB230DA</RequestId>
    </ModifySslVpnClientCertResponse>
    
  • JSON format

    {{
    	"Name":"cert2",
    	"RequestId":"606998F0-B94D-48FE-8316-ACA81BB230DA",
    	"SslVpnClientCertId":"vsc-bp1n8wcf134yl0osrcg98"
    }

Error codes

HTTP status code Error code Error message Description
403 Forbbiden.SubUser User not authorized to operate on the specified resource as your account is created by another user. You are not authorized to operate on this resource. Apply for the permission and try again.
403 Forbidden User not authorized to operate on the specified resource. You are not authorized to operate on this resource. For more information, open a ticket.
400 InvalidName The name is not valid The name format is invalid.

See common error codes