{ "opencollection": "1.0.0", "info": { "name": "Cloudflare / Accounts DNS Records API", "version": "4.0.0" }, "items": [ { "info": { "name": "DNS Records", "type": "folder" }, "items": [ { "info": { "name": "Cloudflare List Dns Records", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloudflare.com/client/v4/zones/:zone_id/dns_records", "params": [ { "name": "zone_id", "value": "", "type": "path", "description": "The unique identifier of the zone." }, { "name": "type", "value": "example_value", "type": "query", "description": "DNS record type to filter by." }, { "name": "name", "value": "Example Title", "type": "query", "description": "DNS record name to filter by." }, { "name": "content", "value": "example_value", "type": "query", "description": "DNS record content to filter by." }, { "name": "page", "value": "10", "type": "query", "description": "Page number of paginated results." }, { "name": "per_page", "value": "10", "type": "query", "description": "Number of records per page." } ] }, "docs": "List, search, sort, and filter a zone's DNS records. Returns a paginated list of DNS records for the specified zone." }, { "info": { "name": "Cloudflare Create Dns Record", "type": "http" }, "http": { "method": "POST", "url": "https://api.cloudflare.com/client/v4/zones/:zone_id/dns_records", "params": [ { "name": "zone_id", "value": "", "type": "path", "description": "The unique identifier of the zone." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new DNS record for a zone. A/AAAA records cannot coexist with CNAME records on the same name, and NS records cannot share names with other record types." }, { "info": { "name": "Cloudflare Get Dns Record Details", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloudflare.com/client/v4/zones/:zone_id/dns_records/:dns_record_id", "params": [ { "name": "zone_id", "value": "", "type": "path", "description": "The unique identifier of the zone." }, { "name": "dns_record_id", "value": "", "type": "path", "description": "The unique identifier of the DNS record." } ] }, "docs": "Retrieve the details of a specific DNS record by its identifier." }, { "info": { "name": "Cloudflare Overwrite Dns Record", "type": "http" }, "http": { "method": "PUT", "url": "https://api.cloudflare.com/client/v4/zones/:zone_id/dns_records/:dns_record_id", "params": [ { "name": "zone_id", "value": "", "type": "path", "description": "The unique identifier of the zone." }, { "name": "dns_record_id", "value": "", "type": "path", "description": "The unique identifier of the DNS record." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Completely replace a DNS record with the provided data. All fields must be provided." }, { "info": { "name": "Cloudflare Update Dns Record", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.cloudflare.com/client/v4/zones/:zone_id/dns_records/:dns_record_id", "params": [ { "name": "zone_id", "value": "", "type": "path", "description": "The unique identifier of the zone." }, { "name": "dns_record_id", "value": "", "type": "path", "description": "The unique identifier of the DNS record." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Partially update a DNS record. Only the fields provided in the request body will be updated." }, { "info": { "name": "Cloudflare Delete Dns Record", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.cloudflare.com/client/v4/zones/:zone_id/dns_records/:dns_record_id", "params": [ { "name": "zone_id", "value": "", "type": "path", "description": "The unique identifier of the zone." }, { "name": "dns_record_id", "value": "", "type": "path", "description": "The unique identifier of the DNS record." } ] }, "docs": "Delete a specific DNS record from the zone." } ] } ], "bundled": true }