Unbinds a Smart Access Gateway from a specified Cloud Connect Network (CCN).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:UnbindSmartAccessGateway |
*CloudConnectNetwork
*SmartAccessGateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CcnId |
string |
Yes |
The ID of the Cloud Connect Network (CCN). |
ccn-kygbldwikz******** |
| SmartAGId |
string |
Yes |
The ID of the Smart Access Gateway. |
sag-0ovhf732a******** |
| RegionId |
string |
Yes |
The region to which the Smart Access Gateway belongs. |
cn-hangzhou |
| SmartAGUid |
integer |
No |
The user ID of the Smart Access Gateway instance. |
1688401595963306 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
CE6642D4-21EB-4168-9BF9-F217953F9892 |
Examples
Success response
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. |
| 400 | UnBinding | The specified instance id unbinding. | The Smart Access Gateway instance is being unbound. Please try again later. |
| 500 | SmartAccessGatewayNotActivated | The specified Smart Access Gateway has not been activated. | |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.