Disassociates a Smart Access Gateway (SAG) instance from the associated Cloud Connect Network (CCN) instance.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
smartag:UnbindSmartAccessGateway | Write |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
CcnId | string | Yes | The ID of the CCN instance. | ccn-kygbldwikz******** |
SmartAGId | string | Yes | The ID of the SAG instance. | sag-0ovhf732a******** |
RegionId | string | Yes | The ID of the region where the SAG instance is deployed. | cn-hangzhou |
SmartAGUid | long | No | The ID of the Alibaba Cloud account to which the SAG instance belongs. | 1688401595963306 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "CE6642D4-21EB-4168-9BF9-F217953F9892"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | OperationDenied.BondApplicationBandwidthPackage | Because the application acceleration bandwidth package bound by the current instance is not allowed to unbind the cloud connection network, please unbind the application acceleration bandwidth package 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. | This SAG instance is used as a backup for a leased line. Unbind the SAG instance from the leased line first. |
400 | NotBoundCEN | Bind the specified CCN instance to a CEN instance first. | Bind the specified CCN instance to a CEN instance first. |
403 | MissingParameter | The input parameter is missing, please check your input. | Missing parameters. Check whether all required parameters are set. |
403 | InvalidId.SMARTAG | The specified smart access gateway instance id is invalid. | The SAG instance ID is invalid. |
403 | SmartAccessGatewayNotBind | The instance has not yet been bound. | The instance is not associated with a CCN instance. |
403 | Forbidden | User not authorized to operate on the specified resource. | You do not have permissions to manage the specified resource. |
403 | AlreadyBound.CEN | This instance has been bound, please unbind first. | The instance has been associated with a CEN instance. You must disassociate the instance from the CEN instance first. |
403 | NotBoundCCN | The specified smart access gateway has not bound CCN; please bind CCN first. | The SAG instance is not associated with a CCN instance. You must associate the SAG instance with a CCN instance first. |
403 | VbrConflict.ChangeSubnet | The subnet of the gateway conflicts with the VBR. Modify the subnet first. | The subnet CIDR block of the SAG instance is in conflict with the VBR. You must change the subnet CIDR block. |
500 | SmartAccessGatewayNotActivated | The specified Smart Access Gateway has not been activated. | The specified SAG instance is inactive. You must activate the instance first. |
For a list of error codes, visit the Service error codes.