Activates a Smart Access Gateway (SAG) device.

Debug

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

Request parameters

Parameter Type Required? Example value Description 
RegionId String Yes cn-hangzhou

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

SmartAGId String Yes sag-ke3kq4evpi8p6******

The ID of the SAG instance.

Action String No ActivateSmartAccessGateway

The name of this action.

Value: ActivateSmartAccessGateway

Response parameters

Parameter Type Example value Description
RequestId String E223E535-AE11-4158-B00F-DC107887A909

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=ActivateSmartAccessGateway
&RegionId=cn-hangzhou
&SmartAGId=sag-ke3kq4evpi8p6******
&<CommonParameters>

Response example

XML format

<ActivateSmartAccessGatewayResponse>
	  <RequestId>E223E535-AE11-4158-B00F-DC107887A909</RequestId>
    </ActivateSmartAccessGatewayResponse>

JSON format

{
	"RequestId":"E223E535-AE11-4158-B00F-DC107887A909"
}

Errors

HTTP status code Error code Error message Description
500 SmartAccessGatewayActivateFailed An error has occurred while activating the specified Smart Access Gateway. Failed to activate the SAG device. Please try again later.

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