Unlocks a Smart Access Gateway (SAG) instance.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description 
SmartAGId String Yes sag-w9unmktmupcde*****

The ID of the SAG instance.

Action String No UnlockSmartAccessGateway

The name of this action. Value: UnlockSmartAccessGateway

RegionId String No cn-shanghai

The ID of the region to which the SAG instance belongs.

Response parameters

Parameter Type Example value Description
RequestId String 05DC546B-DBF9-4028-88CD-1742AB4E014C

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=UnlockSmartAccessGateway
&SmartAGId=sag-w9unmktmupcde*****
&<CommonParameters>

Response example

XML format

<UnlockSmartAccessGatewayResponse>
	  <RequestId>05DC546B-DBF9-4028-88CD-1742AB4E014C</RequestId>
</UnlockSmartAccessGatewayResponse>

JSON format

{
	"RequestId":"05DC546B-DBF9-4028-88CD-1742AB4E014C"
}

Errors

HTTP status code Error code Error message Description
403 Forbidden User not authorized to operate on the specified resource. You are not authorized to operate on this resource.
403 InvalidId.SMARTAG The specified smart access gateway instance id is invalid. The specified SmartAGId is invalid.
403 MissingParameter The input parameter is missing, please check your input. One or more required parameters are missing.

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