All Products
Search
Document Center

Smart Access Gateway:UnbindSmartAccessGateway

Last Updated:Mar 03, 2024

Disassociates a Smart Access Gateway (SAG) instance from the associated Cloud Connect Network (CCN) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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.
OperationAccess levelResource typeCondition keyAssociated operation
smartag:UnbindSmartAccessGatewayWrite
  • CloudConnectNetwork
    acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}
  • SmartAccessGateway
    acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
CcnIdstringYes

The ID of the CCN instance.

ccn-kygbldwikz********
SmartAGIdstringYes

The ID of the SAG instance.

sag-0ovhf732a********
RegionIdstringYes

The ID of the region where the SAG instance is deployed.

cn-hangzhou
SmartAGUidlongNo

The ID of the Alibaba Cloud account to which the SAG instance belongs.

1688401595963306

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

CE6642D4-21EB-4168-9BF9-F217953F9892

Examples

Sample success responses

JSONformat

{
  "RequestId": "CE6642D4-21EB-4168-9BF9-F217953F9892"
}

Error codes

HTTP status codeError codeError messageDescription
400OperationDenied.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. -
400SAG.DedicatedLineExistThis 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.
400NotBoundCENBind the specified CCN instance to a CEN instance first.Bind the specified CCN instance to a CEN instance first.
403MissingParameterThe input parameter is missing, please check your input.Missing parameters. Check whether all required parameters are set.
403InvalidId.SMARTAGThe specified smart access gateway instance id is invalid.The SAG instance ID is invalid.
403SmartAccessGatewayNotBindThe instance has not yet been bound.The instance is not associated with a CCN instance.
403ForbiddenUser not authorized to operate on the specified resource.You do not have permissions to manage the specified resource.
403AlreadyBound.CENThis 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.
403NotBoundCCNThe 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.
403VbrConflict.ChangeSubnetThe 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.
500SmartAccessGatewayNotActivatedThe 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.