You can call this operation to generate the verification code required for installing a gateway on-premises. This verification code is corresponding to the gateway created on the cloud.


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 CreateGatewayVerifyCode

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

GatewayId String Yes dg-yhss6sdlaffaq68

The ID of the gateway.

Response parameters

Parameter Type Example Description
Code String OK

The response code.

Data String qvCKyMgl

The verification code required for installing the gateway on-premises.

ErrorMsg String None

The error message.

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

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.