# Cloudflare Api Key

Cloudflare provides a suite of services to enhance the security, performance, and reliability of websites and applications.

- **Category:** security & identity tools
- **Auth:** API_KEY
- **Tools:** 24
- **Triggers:** 0
- **Slug:** `CLOUDFLARE_API_KEY`
- **Version:** 20260211_00

## Tools

### Create DNS Record

**Slug:** `CLOUDFLARE_API_KEY_CREATE_DNS_RECORD`

Tool to create a new DNS record in a Cloudflare zone. Use when you need to add a record (A, CNAME, TXT, MX, etc.) to a specified zone.

### Create Zone Lockdown Rule

**Slug:** `CLOUDFLARE_API_KEY_CREATE_LOCKDOWN_RULE`

Tool to create a Zone Lockdown rule. Use when you need to restrict access to specific URL patterns to defined IPs/CIDR ranges. Use after confirming zone_id.

### Create Rule in Ruleset

**Slug:** `CLOUDFLARE_API_KEY_CREATE_RULE_IN_RULESET`

Tool to add a rule to an existing ruleset. Use when you need to append or insert a new rule in a Cloudflare ruleset.

### Create Ruleset

**Slug:** `CLOUDFLARE_API_KEY_CREATE_RULESET`

Creates a new Cloudflare ruleset at account or zone scope. Rulesets contain rules that control traffic behavior (firewall, rate limiting, redirects, etc.). First use List Zones to get a zone_id, then specify the phase (e.g., 'http_request_firewall_custom' for WAF rules).

### Delete DNS Record

**Slug:** `CLOUDFLARE_API_KEY_DELETE_DNS_RECORD`

Tool to delete a DNS record. Use when you need to remove a specific DNS record from a zone after confirming both zone and record IDs.

### Delete DNSSEC

**Slug:** `CLOUDFLARE_API_KEY_DELETE_DNSSEC`

Tool to delete DNSSEC records for a zone. Use after disabling DNSSEC at the registrar to remove DNSSEC configuration.

### Delete Rule from Ruleset

**Slug:** `CLOUDFLARE_API_KEY_DELETE_RULE_FROM_RULESET`

Tool to delete a specific rule from a ruleset. Use when you need to remove an outdated or incorrect rule from an account or zone ruleset after confirming IDs.

### Delete Ruleset

**Slug:** `CLOUDFLARE_API_KEY_DELETE_RULESET`

Tool to delete all versions of a ruleset. Use when you need to remove a ruleset from an account or zone after confirming no references exist.

### Delete a zone

**Slug:** `CLOUDFLARE_API_KEY_DELETE_ZONE`

Tool to delete an existing zone. Use after confirming the zone_id to permanently remove the zone.

### Get Entrypoint Ruleset Version

**Slug:** `CLOUDFLARE_API_KEY_GET_ENTRYPOINT_RULESET_VERSION`

Retrieves a specific historical version of an entry point ruleset from Cloudflare. Entry point rulesets are phase-specific and define the rules that execute during a particular phase of request/response processing. This tool fetches a specific version, allowing you to view rules as they existed at a particular point in time. Use cases: - Audit historical rule configurations - Compare rule changes between versions - Rollback analysis (view what rules looked like before a change) - Debug issues by examining past ruleset states Prerequisites: - Requires a valid account_id or zone_id (use List Zones to get zone IDs) - Requires knowing the ruleset phase (e.g., 'http_request_firewall_custom') - Requires knowing the version number to fetch

### Get Lockdown Rule

**Slug:** `CLOUDFLARE_API_KEY_GET_LOCKDOWN_RULE`

Tool to get a Zone Lockdown rule. Use when you need to fetch details of a specific lockdown rule by its ID within a Cloudflare zone.

### Get Regional Tiered Cache

**Slug:** `CLOUDFLARE_API_KEY_GET_REGIONAL_TIERED_CACHE`

Tool to get the regional tiered cache setting for a zone. Use when you need to verify if regional tiered cache is enabled for performance optimization after zone activation.

### Get Ruleset

**Slug:** `CLOUDFLARE_API_KEY_GET_RULESET`

Tool to fetch the latest version of a ruleset by ID. Use after you have the ruleset scope and ID.

### Get Zone Details

**Slug:** `CLOUDFLARE_API_KEY_GET_ZONE_DETAILS`

Tool to get details for a specific zone. Use when you need detailed zone metadata by ID.

### List DNS Records

**Slug:** `CLOUDFLARE_API_KEY_LIST_DNS_RECORDS`

List, search, sort, and filter DNS records for a Cloudflare zone. Use this tool to retrieve DNS records (A, AAAA, CNAME, TXT, MX, etc.) for a zone. Supports filtering by record type, name, content, and proxy status. Results are paginated; use page and per_page parameters for large record sets. Requires a valid zone_id which can be obtained from the List Zones action.

### List Cloudflare Zones

**Slug:** `CLOUDFLARE_API_KEY_LIST_ZONES`

Tool to list, search, sort, and filter Cloudflare zones. Use when you need to retrieve a paginated list of zones available to the authenticated user.

### Overwrite DNS Record

**Slug:** `CLOUDFLARE_API_KEY_OVERWRITE_DNS_RECORD`

Tool to completely overwrite a DNS record. Use when you need to replace all record details after confirming record type and name.

### Rerun Zone Activation Check

**Slug:** `CLOUDFLARE_API_KEY_RERUN_ZONE_ACTIVATION_CHECK`

Triggers a new activation check for a zone with 'pending' status. Use this after creating a zone or updating nameservers to verify that DNS propagation is complete and the zone can be activated. Rate limits apply: once every 5 minutes for paid plans (paygo/Enterprise) or once per hour for Free plans.

### Update DNSSEC Status

**Slug:** `CLOUDFLARE_API_KEY_UPDATE_DNSSEC_STATUS`

Tool to update DNSSEC configuration for a zone. Use when you need to enable or disable DNSSEC or adjust DNSSEC options after confirming the zone ID.

### Update Lockdown Rule

**Slug:** `CLOUDFLARE_API_KEY_UPDATE_LOCKDOWN_RULE`

Tool to update a zone lockdown rule. Use when you need to modify the IP or URL settings of an existing Zone Lockdown rule after confirming the rule exists.

### Update Rule in Ruleset

**Slug:** `CLOUDFLARE_API_KEY_UPDATE_RULE_IN_RULESET`

Tool to update a specific rule in a ruleset. Use when you need to modify a rule's configuration or reorder it after reviewing its current settings.

### Update Ruleset

**Slug:** `CLOUDFLARE_API_KEY_UPDATE_RULESET`

Update a Cloudflare ruleset, creating a new version. Use this to modify ruleset description, name, or rules. IMPORTANT: When updating rules, you must include ALL rules you want to keep - any rules not included will be removed. Cannot modify managed rulesets directly - use overrides instead.

### Update Cloudflare Zone

**Slug:** `CLOUDFLARE_API_KEY_UPDATE_ZONE`

Tool to edit a Cloudflare zone. Use when you need to update a single zone property at a time. Ensure only one of paused, type, or vanity_name_servers is provided per call.

### Upload File to S3

**Slug:** `CLOUDFLARE_API_KEY_UPLOAD_FILE_TO_S3`

Tool to upload arbitrary file content to temporary storage. Use when you need to stage files for actions requiring FileUploadable.
