All Products
Search
Document Center

ENS:UnassociateNetworkAcl

Last Updated:Mar 12, 2024

Disassociates a network access control list (ACL) from a network.

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NetworkAclIdstringYes

The ID of the network ACL that you want to disassociate from a resource.

nacl-a2do9e413e0sp****
Resourceobject []Yes

Resources that you want to disassociate. Valid values of N: 0 to 29. A maximum of 30 resources can be unbound.

ResourceTypestringYes

The type of the resource that you want to disassociate. Valid values:

  • Network
Network
ResourceIdstringYes

The ID of the resource that you want to disassociate.

n-5***

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

CEF72CEB-54B6-4AE8-B225-F876FF7BA984

Examples

Sample success responses

JSONformat

{
  "RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}

Error codes

HTTP status codeError codeError message
400Missing%sYou must specify the parameter %s.
400Invalid%sThe specified parameter %s is invalid.
400ens.interface.errorAn error occurred while call the API.
400InvalidNetworkAcl.NotFoundThe special Network Acl is not found.
400RegionAccessDeniedCould not operate this region's resource
400InvalidResource.NotBondThe special Network Acl and the Resource are not bound.
400IncorrectResourceBondStatusThe resource's bond status is invalid.
400NoPermissionPermission denied.
400InvalidParameter.%sThe specified field %s invalid. Please check it again.

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

Change history

Change timeSummary of changesOperation
No change history