All Products
Search
Document Center

Smart Access Gateway:UnbindVbr

Last Updated:Mar 29, 2024

Disassociates a Smart Access Gateway (SAG) instance from a virtual border router (VBR).

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:UnbindVbrWrite
  • SmartAccessGateway
    acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

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

cn-shanghai
SmartAGIdstringYes

The ID of the SAG instance.

sag-pek29fu47tmpj0****
VbrIdstringYes

The ID of the VBR.

vbr-wz90rs6ef1m2fq0yn****
VbrRegionIdstringYes

The ID of the region where the VBR is deployed.

cn-hangzhou
SmartAGUidlongNo

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

253460731706911258

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

61C33444-D8C5-4018-A06C-BA8C8812BEF6

Examples

Sample success responses

JSONformat

{
  "RequestId": "61C33444-D8C5-4018-A06C-BA8C8812BEF6"
}

Error codes

HTTP status codeError codeError messageDescription
400Forbidden.SubUserYou are not authorized to operate on the specified resource.-
400NotBoundCENBind the specified CCN instance to a CEN instance first.Bind the specified CCN instance to a CEN instance first.
403ForbiddenUser not authorized to operate on the specified resource.You do not have permissions to manage the specified resource.
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.
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.
500InternalErrorAn error occurred while processing your request.An error occurred while processing your request.

For a list of error codes, visit the Service error codes.