Revokes the authorization from a Smart Access Gateway (SAG) instance to a Cloud Connect Network (CCN) instance.

Debug

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

Request parameters

Parameter Type Required? Example value Description
CcnInstanceId String Yes ccn-jf********

The ID of the CCN instance.

RegionId String Yes cn-hangzhou

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

SmartAGId String Yes sag-hd**************

The ID of the SAG instance.

Action String No RevokeSagInstanceFromCcn

The name of this action.

Value: RevokeSagInstanceFromCcn

Response parameters

Parameter Type Example value Description
RequestId String BCB97739-0CB5-4C94-9A5C-13051FFAB0E9

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=RevokeSagInstanceFromCcn
&CcnInstanceId=ccn-jf********
&RegionId=cn-hangzhou
&SmartAGId=sag-hd**************
&<CommonParameters>

Response example

XML format

<RevokeSagInstanceFromCcnResponse>
	  <RequestId>BCB97739-0CB5-4C94-9A5C-13051FFAB0E9</RequestId>
    </RevokeSagInstanceFromCcnResponse>

JSON format

{
	"RequestId":"BCB97739-0CB5-4C94-9A5C-13051FFAB0E9"
}

Errors

HTTP status code Error code Error message Description
400 SAG.InstanceIdEmpty You must specify the SAG instance ID. You must specify the SmartAGId.
400 CCN.InvalidId You must specify the CCN instance ID. The specified CcnInstanceId does not exist.

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