vpc — Virtual Private Cloud
vpc · 2017-03-12

DisassociateNetworkAclSubnets

POST

Disassociate a network ACL from one or more subnets.

Wire call

Converge Cloud is RPC over HTTP. There is one path — / — and the action travels in the X-TC-Action header. The /vpc/DisassociateNetworkAclSubnets path used in the OpenAPI document is a documentation convenience so each action is addressable; it is not a route on the server.

curl
curl -sS https://vpc.api3.convergecloud.com/ \
  -H 'Authorization: TC3-HMAC-SHA256 Credential=<SecretId>/<YYYY-MM-DD>/vpc/tc3_request, SignedHeaders=content-type;host;x-tc-action, Signature=<sig>' \
  -H 'Content-Type: application/json; charset=utf-8' \
  -H 'Host: vpc.api3.convergecloud.com' \
  -H 'X-TC-Action: DisassociateNetworkAclSubnets' \
  -H 'X-TC-Version: 2017-03-12' \
  -H 'X-TC-Timestamp: <unix-seconds>' \
  -H 'X-TC-Region: luzon' \
  -d '{"NetworkAclId":"<NetworkAclId>","SubnetIds":["<SubnetId>"]}'

Request parameters

FieldTypeRequiredDescription
NetworkAclIdstringYesNetwork ACL instance ID, such as `acl-12345678`.
SubnetIdsstring[]YesArray of subnet instance IDs, such as [subnet-12345678].

Response

Fields are returned inside the Response envelope. Converge Cloud answers HTTP 200 for errors as well as successes, so read Response.Error rather than the status code — and test for the presence of that object, because Code is occasionally the empty string.

FieldTypeDescription
RequestIdstringThe unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
Success
{
  "Response": {
    // action-specific fields,
    "RequestId": "…"
  }
}
Error
{
  "Response": {
    "Error": { "Code": "…", "Message": "…" },
    "RequestId": "…"
  }
}

Try it

CredentialThe key never leaves this tab — it signs the request here. The signed request goes to /api-relay/vpc.
Request bodyvalid JSONPOST vpc.api3.convergecloud.com · DisassociateNetworkAclSubnets
Recorded example response — captured 2026-09-17
{
  "Response": {
    "RequestId": "0e955209-e83b-fccd-ca84-47fd39b418b0"
  }
}

What failure looks like

Example error responses for this action. Match on Code.

Recorded error 1
{
  "Response": {
    "Error": {
      "Code": "ResourceNotFound",
      "Message": "指定资源 `acl-00000000` 未找到。"
    },
    "RequestId": "f0c69a29-1691-7d13-b58e-1e32db1f8834"
  }
}
Recorded error 2
{
  "Response": {
    "Error": {
      "Code": "ResourceNotFound",
      "Message": "指定资源 `acl-00000000` 未找到。"
    },
    "RequestId": "7b8a7f37-50de-a490-7c48-7ebbe29e316c"
  }
}

Behaviour

A subnet with no network ACL associated is governed by its security groups alone.