Disassociating a VPC from a Private Zone

Function

Disassociate a VPC from a private zone.

When a private zone is associated with only one VPC, you cannot disassociate it.

URI

POST /v2/zones/{zone_id}/disassociaterouter

For details, see Table 1.
Table 1 Parameter in the URI

Parameter

Mandatory

Type

Description

zone_id

Yes

String

Zone ID

You can obtain the value by calling the API in Querying Private Zones.

Request

Response

Returned Value

If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.

For details, see Status Code.