Cloudflare DNS integration (Developer Tools, Security). Imported from open-connector.
https://api.cloudflare.com/client/v4/accounts
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The result page number. |
| perPage | integer | optional | The page size. |
/zones
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The result page number. |
| perPage | integer | optional | The page size. |
| name | string | optional | Filter zones by exact zone name. |
| status | string | optional | Filter zones by zone status. |
| accountId | string | optional | Filter zones by Cloudflare account ID. |
| match | string | optional | Whether all or any query filters must match. |
| order | string | optional | The field to order by. |
| direction | string | optional | The sort direction. |
/zones/{zoneId}
| Param | Type | Required | Description |
|---|---|---|---|
| zoneId | string | required | The Cloudflare zone ID. |
/zones/{zoneId}/dns_records
| Param | Type | Required | Description |
|---|---|---|---|
| zoneId | string | required | The Cloudflare zone ID. |
| page | integer | optional | The result page number. |
| perPage | integer | optional | The page size. |
| type | string | optional | The DNS record type. |
| name | string | optional | Filter by record name. |
| content | string | optional | Filter by record content. |
| proxied | boolean | optional | Filter by proxy status. |
| match | string | optional | Whether all or any query filters must match. |
| order | string | optional | The field to order by. |
| direction | string | optional | The sort direction. |
/zones/{zoneId}/dns_records/{dnsRecordId}
| Param | Type | Required | Description |
|---|---|---|---|
| zoneId | string | required | The Cloudflare zone ID. |
| dnsRecordId | string | required | The Cloudflare DNS record ID. |
/zones/{zoneId}/dns_records
| Param | Type | Required | Description |
|---|---|---|---|
| zoneId | string | required | The Cloudflare zone ID. |
| type | string | required | The DNS record type. |
| name | string | required | The DNS record name. |
| content | string | optional | The DNS record content. |
| data | object | optional | A free-form object accepted by the Cloudflare API. |
| ttl | integer | optional | The DNS TTL in seconds. Use 1 for automatic TTL. |
| proxied | boolean | optional | Whether Cloudflare proxying should be enabled. |
| priority | integer | optional | The DNS record priority. |
| comment | string | optional | The DNS record comment. |
| tags | array | optional | The DNS record tags. |
| settings | object | optional | A free-form object accepted by the Cloudflare API. |
/zones/{zoneId}/dns_records/{dnsRecordId}
| Param | Type | Required | Description |
|---|---|---|---|
| zoneId | string | required | The Cloudflare zone ID. |
| dnsRecordId | string | required | The Cloudflare DNS record ID. |
| type | string | optional | The DNS record type. |
| name | string | optional | The DNS record name. |
| content | string | optional | The DNS record content. |
| data | object | optional | A free-form object accepted by the Cloudflare API. |
| ttl | integer | optional | The DNS TTL in seconds. Use 1 for automatic TTL. |
| proxied | boolean | optional | Whether Cloudflare proxying should be enabled. |
| priority | integer | optional | The DNS record priority. |
| comment | string | optional | The DNS record comment. |
| tags | array | optional | The DNS record tags. |
| settings | object | optional | A free-form object accepted by the Cloudflare API. |
/zones/{zoneId}/dns_records/{dnsRecordId}
| Param | Type | Required | Description |
|---|---|---|---|
| zoneId | string | required | The Cloudflare zone ID. |
| dnsRecordId | string | required | The Cloudflare DNS record ID. |