Disassociates a Smart Access Gateway (SAG) instance from an access control list (ACL).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DisassociateACL

The operation that you want to perform. Set the value to DisassociateACL.

RegionId String No cn-shanghai

The ID of the region where the ACL is deployed.

You can call the DescribeRegions operation to query the most recent region list.

AclId String No acl-xhwhyuo43l0****

The ID of ACL.

SmartAGId String No sag-ke3kq4evpi8****

The ID of the SAG instance.

Response parameters

Parameter Type Example Description
RequestId String B28A9AB3-05BD-4A88-AB6A-A555A0BF70C0

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DisassociateACL
&RegionId=cn-shanghai
&AclId=acl-xhwhyuo43l0****
&SmartAGId=sag-ke3kq4evpi8****
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DisassociateACLResponse>
    <RequestId>B28A9AB3-05BD-4A88-AB6A-A555A0BF70C0</RequestId>
</DisassociateACLResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "B28A9AB3-05BD-4A88-AB6A-A555A0BF70C0"
}

Error codes

HttpCode Error code Error message Description
403 Forbidden User not authorized to operate on the specified resource. The error message returned because you do not have the permissions to manage the specified resource.
403 MissingParameter The input parameter is missing, please check your input. The error message returned because one or more required parameters are not set. Check whether you have configured 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 FeatureNotSupport The current edition of the smart access gateway does not support this feature. The error message returned because the current version of the specified SAG device does not support this feature.
403 FeatureNotSupportForActiveSmartAG The current edition of the active smart access gateway does not support this feature. The error message returned because the current version of the active SAG device does not support this feature.
403 FeatureNotSupportForStandBySmartAG The current edition of the standby smart access gateway does not support this feature. The error message returned because the current version of the standby SAG device does not support this feature.
403 InvalidId.ACL The specified ACL ID is invalid. The error message returned because the specified ACL ID is invalid.
403 SmartAGNotAssociateAcl The specified smart access gateway is not associated with the specified ACL. The error message returned because the specified SAG instance is not bound with the specified ACL.
403 InternalError An internal server error occurred. The error message returned because an internal server error occurred.

For a list of error codes, see Service error codes.