You can call this operation to disassociate a Smart Access Gateway (SAG) instance from the associated Cloud Connect Network (CCN) instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | UnbindSmartAccessGateway |
The operation that you want to perform. Set the value to UnbindSmartAccessGateway . |
CcnId | String | Yes | ccn-kygbldwikz******** |
The ID of the CCN instance. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region where the SAG instance is deployed. |
SmartAGId | String | Yes | sag-0ovhf732a******** |
The ID of the SAG instance. |
SmartAGUid | Long | No | 1688401595963306 |
The UID of the Alibaba Cloud account that owns the SAG instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | CE6642D4-21EB-4168-9BF9-F217953F9892 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=UnbindSmartAccessGateway
&CcnId=ccn-kygbldwikz********
&RegionId=cn-hangzhou
&SmartAGId=sag-0ovhf732a********
&<Common request parameters>
Sample success responses
XML
format
<UnbindSmartAccessGatewayResponse>
<RequestId>CE6642D4-21EB-4168-9BF9-F217953F9892</RequestId>
</UnbindSmartAccessGatewayResponse>
JSON
format
{
"RequestId":"CE6642D4-21EB-4168-9BF9-F217953F9892"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
403 | MissingParameter | The input parameter is missing, please check your input. | The error message returned because a required parameter is not set. Check whether you have set all required parameters. |
403 | InvalidId.SMARTAG | The specified smart access gateway instance id is invalid. | The error message returned because the specified SAG instance ID is invalid. |
403 | SmartAccessGatewayNotBind | The instance has not yet been bound. | The error message returned because the specified SAG instance is associated with a CCN instance. |
403 | Forbidden | User not authorized to operate on the specified resource. | The error message returned because you do not have the permission to manage the specified resource. |
500 | SmartAccessGatewayNotActivated | The specified Smart Access Gateway has not been activated. | The error message returned because the specified SAG instance has not been activated. Activate the SAG instance first. |
403 | AlreadyBound.CEN | This instance has been bound, please unbind first. | The error message returned because the specified SAG instance is already associated with another CEN instance. Disassociate the SAG instance from the CEN instance first. |
400 | SAG.DedicatedLineExist | This SAG instance is used as a backup for a leased line. Unbind the SAG instance from the leased line first. | The error message returned because the specified SAG instance is already used as a backup of a leased line. Disassociate the SAG instance from the leased line first. |
403 | NotBoundCCN | The specified smart access gateway has not bound CCN; please bind CCN first. | The error message returned because the specified SAG instance is not associated with a CCN instance. Associate the SAG instance with a CCN instance first. |
400 | NotBoundCEN | Bind the specified CCN instance to a CEN instance first. | The error message returned because the specified CCN instance is not associated with a CEN instance. Associate the CCN instance with a CEN instance first. |
403 | VbrConflict.ChangeSubnet | The subnet of the gateway conflicts with the VBR. Modify the subnet first. | The error message returned because the subnet CIDR blocks of the specified SAG instance overlap with the CIDR block of the VBR. Check the specified CIDR blocks. |
For a list of error codes, visit the API Error Center.