Disassociates a network access control list (ACL) from a network.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:UnassociateNetworkAcl |
update |
*All Resource
|
None | None |
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 |
No |
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 elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.