Updated on 2024-12-03 GMT+08:00

Zone Management

Table 1 Actions for zone management

Permission

API

Action

Dependent Permission

IAM Project

Create a zone.

POST /v2/zones

dns:zone:create

vpc:*:get*

vpc:*:list*

Query a zone.

GET /v2/zones/{zone_id}

dns:zone:get

-

List the zones.

GET /v2/zones

dns:zone:list

-

Modify a zone.

PATCH /v2/zones/{zone_id}

dns:zone:update

-

Delete a zone.

DELETE /v2/zones/{zone_id}

dns:zone:delete

ces:remoteChecks:list

ces:siteMonitorHealthCheck:get

ces:siteMonitorHealthCheck:create

ces:siteMonitorRule:delete

ces:siteMonitorRule:put

Associate a private zone with a VPC.

POST /v2/zones/{zone_id}/associaterouter

dns:zone:associaterouter

vpc:*:get*

vpc:*:list*

Disassociate a VPC from a private zone.

POST /v2/zones/{zone_id}/disassociaterouter

dns:zone:disassociaterouter

vpc:*:get*

vpc:*:list*