Updated on 2024-05-07 GMT+08:00

Record Set Management

Table 1 Actions for record set management

Permission

API

Action

Dependent Permission

IAM Project

Enterprise Project

Create a record set.

POST /v2/zones/{zone_id}/recordsets

dns:recordset:create

-

Create a record set.

POST /v2.1/zones/{zone_id}/recordsets

dns:recordset:create

-

Query a record set.

GET /v2/zones/{zone_id}/recordsets/{recordset_id}

dns:recordset:get

-

Query a record set.

GET /v2.1/zones/{zone_id}/recordsets/{recordset_id}

dns:recordset:get

-

Query record sets in a specified zone.

GET /v2/zones/{zone_id}/recordsets

dns:recordset:list

-

Query all record sets.

GET /v2/recordsets

dns:recordset:list

-

This API is used to list record sets.

Only the zone ID can be used as a filter criterion.

Query record sets.

GET /v2.1/zones/{zone_id}/recordsets

dns:recordset:list

-

GET /v2.1/recordsets

dns:recordset:list

-

This API is used to list record sets.

Only the zone ID can be used as a filter criterion.

Modify a record set.

PUT /v2/zones/{zone_id}/recordsets/{recordset_id}

dns:recordset:update

-

Modify a record set.

PUT /v2.1/zones/{zone_id}/recordsets/{recordset_id}

dns:recordset:update

-

Delete a record set.

DELETE /v2/zones/{zone_id}/recordsets/{recordset_id}

dns:recordset:delete

ces:remoteChecks:list

ces:siteMonitorHealthCheck:get

ces:siteMonitorHealthCheck:create

ces:siteMonitorRule:delete

ces:siteMonitorRule:put

Delete a record set.

DELETE /v2.1/zones/{zone_id}/recordsets/{recordset_id}

dns:recordset:delete

ces:remoteChecks:list

ces:siteMonitorHealthCheck:get

ces:siteMonitorHealthCheck:create

ces:siteMonitorRule:delete

ces:siteMonitorRule:put

Delete record sets in batches.

DELETE /v2.1/zones/{zone_id}/recordsets

dns:recordset:delete

ces:remoteChecks:list

ces:siteMonitorHealthCheck:get

ces:siteMonitorHealthCheck:create

ces:siteMonitorRule:delete

ces:siteMonitorRule:put

Set record set status.

PUT /v2.1/recordsets/{recordset_id}/statuses/set

dns:recordset:setStatus

-