Disassociates a network access control list (ACL) from a network.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| NetworkAclId | string | Yes | The ID of the network ACL that you want to disassociate from a resource. | nacl-a2do9e413e0sp**** |
| Resource | array<object> | Yes | Resources that you want to disassociate. Valid values of N: 0 to 29. A maximum of 30 resources can be unbound. | |
| object | Yes | The resources that you want to disassociate. | ||
| ResourceType | string | Yes | The type of the resource that you want to disassociate. Valid values:
| Network |
| ResourceId | string | Yes | The ID of the resource that you want to disassociate. | n-5*** |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}Error codes
| HTTP status code | Error code | Error message |
|---|---|---|
| 400 | Missing%s | You must specify the parameter %s. |
| 400 | Invalid%s | The specified parameter %s is invalid. |
| 400 | ens.interface.error | An error occurred while call the API. |
| 400 | InvalidNetworkAcl.NotFound | The special Network Acl is not found. |
| 400 | RegionAccessDenied | Could not operate this region's resource |
| 400 | InvalidResource.NotBond | The special Network Acl and the Resource are not bound. |
| 400 | IncorrectResourceBondStatus | The resource's bond status is invalid. |
| 400 | NoPermission | Permission denied. |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-09-05 | The Error code has changed | View Change Details |
