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

Record Set Importing

Table 1 Actions for record set importing

Permission

API

Action

Dependent Permission

IAM Project

Enterprise Project

Download the template for importing public zone record sets in batches.

GET /v2/templates/import/recordset

dns:recordset:getPublicRecordSetImportTemplate

-

x

Only authentication is required.

Create a task to import public zone record sets.

POST /v2/zones/{zone_id}/import/recordsets

dns:publicRecordset:createImport

-

Query a task to import public zone record sets.

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

dns:publicRecordset:getImport

-

Delete a task to import public zone record sets.

DELETE /v2/zones/{zone_id}/import/tasks/{task_id}

dns:publicRecordset:deleteImport

-

Download the template for importing private zone record sets in batches.

GET /v2/templates/import/private/recordset

dns:recordset:getPrivateRecordSetImportTemplate

-

x

Only authentication is required.

Create a task to import private zone record sets.

POST /v2/zones/{zone_id}/import/private/recordsets

dns:privateRecordset:createImport

-

Query a task to import private zone record sets.

GET /v2/zones/{zone_id}/import/private/recordsets

dns:privateRecordset:getImport

-

Delete a task to import private zone record sets.

DELETE /v2/zones/{zone_id}/import/private/tasks/{task_id}

dns:privateRecordset:deleteImport

-