Cloudflare Api Key
cloudflare_api_keyCloudflare provides a suite of services to enhance the security, performance, and reliability of websites and applications.
Acciones disponibles (24)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create DNS RecordCLOUDFLARE_API_KEY_CREATE_DNS_RECORDAcciónTool 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.
CLOUDFLARE_API_KEY_CREATE_DNS_RECORDAcciónTool 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.
Parámetros de entrada
ttlintegerTime to live for DNS record in seconds; 1 means automatic (Cloudflare default).
namestringObligatorioFully qualified DNS record name in Punycode.
tagsstring[]Custom tags in the form "name:value".
typestringObligatorioenumDNS record type.
AAAAACNAMEMXTXTSRVLOCSPFCERTDNSKEYDSNAPTR+5commentstringFree-form comment for the DNS record.
contentstringRecord content; for types like A/AAAA use IP address, for CNAME use target hostname, etc.
proxiedbooleanWhether the record is receiving the performance and security benefits of Cloudflare.
zone_idstringObligatorioZone identifier in which to create the DNS record.
settingsobjectSettings specific to A record when proxied.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Zone Lockdown RuleCLOUDFLARE_API_KEY_CREATE_LOCKDOWN_RULEAcciónTool 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.
CLOUDFLARE_API_KEY_CREATE_LOCKDOWN_RULEAcciónTool 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.
Parámetros de entrada
urlsstring[]ObligatorioURLs to lock down; supports simple wildcard '*' patterns.
pausedbooleanWhether to start the rule in a paused state.
zone_idstringObligatorioZone identifier.
priorityintegerProcessing priority (lower numbers run first).
descriptionstringOptional summary of the rule.
configurationsobject[]ObligatorioOne or more sources to allow (IP or CIDR ranges).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Rule in RulesetCLOUDFLARE_API_KEY_CREATE_RULE_IN_RULESETAcciónTool to add a rule to an existing ruleset. Use when you need to append or insert a new rule in a Cloudflare ruleset.
CLOUDFLARE_API_KEY_CREATE_RULE_IN_RULESETAcciónTool to add a rule to an existing ruleset. Use when you need to append or insert a new rule in a Cloudflare ruleset.
Parámetros de entrada
ruleobjectObligatorioDefinition of the rule to add
zone_idstringZone identifier; required if using zones segment
account_idstringAccount identifier; required if using accounts segment
ruleset_idstringObligatorioID of the target ruleset
accounts_or_zonesstringObligatorioenumSegment for owner: 'accounts' or 'zones'
accountszones
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create RulesetCLOUDFLARE_API_KEY_CREATE_RULESETAcciónTool to create an account- or zone-scoped ruleset. Use after defining your ruleset details and selecting the correct scope.
CLOUDFLARE_API_KEY_CREATE_RULESETAcciónTool to create an account- or zone-scoped ruleset. Use after defining your ruleset details and selecting the correct scope.
Parámetros de entrada
kindstringObligatorioenumType of ruleset. Allowed values: custom, root, zone
customrootzonenamestringObligatorioHuman-readable name for the ruleset
phasestringObligatorioExecution phase for the ruleset (e.g., http_request_firewall_custom, http_config_settings, ddos_l7, http_response_headers_transform, etc.)
rulesobject[]Optional list of rules to include in the ruleset
descriptionstringOptional description for the ruleset
accounts_or_zonesstringObligatorioenumScope for the ruleset: 'accounts' or 'zones'
accountszonesaccount_or_zone_idstringObligatorioIdentifier of the account or zone where the ruleset will be created
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete DNS RecordCLOUDFLARE_API_KEY_DELETE_DNS_RECORDAcciónTool 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.
CLOUDFLARE_API_KEY_DELETE_DNS_RECORDAcciónTool 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.
Parámetros de entrada
zone_idstringObligatorioZone identifier (max length 32).
dns_record_idstringObligatorioDNS record identifier (max length 32).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete DNSSECCLOUDFLARE_API_KEY_DELETE_DNSSECAcciónTool to delete DNSSEC records for a zone. Use after disabling DNSSEC at the registrar to remove DNSSEC configuration.
CLOUDFLARE_API_KEY_DELETE_DNSSECAcciónTool to delete DNSSEC records for a zone. Use after disabling DNSSEC at the registrar to remove DNSSEC configuration.
Parámetros de entrada
zone_idstringObligatorioZone identifier to delete DNSSEC for
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Rule from RulesetCLOUDFLARE_API_KEY_DELETE_RULE_FROM_RULESETAcciónTool 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.
CLOUDFLARE_API_KEY_DELETE_RULE_FROM_RULESETAcciónTool 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.
Parámetros de entrada
rule_idstringObligatorioUnique identifier of the rule to delete
ruleset_idstringObligatorioUnique identifier of the ruleset
accounts_or_zonesstringObligatorioenumScope for the ruleset: 'accounts' or 'zones'
accountszonesaccount_or_zone_idstringObligatorioIdentifier of the account or zone owning the ruleset
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete RulesetCLOUDFLARE_API_KEY_DELETE_RULESETAcciónTool 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.
CLOUDFLARE_API_KEY_DELETE_RULESETAcciónTool 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.
Parámetros de entrada
ruleset_idstringObligatorioUnique identifier of the ruleset to delete.
accounts_or_zonesstringObligatorioenumScope of the ruleset. Must be 'accounts' or 'zones'.
accountszonesaccount_or_zone_idstringObligatorioAccount ID if scope is 'accounts', or Zone ID if scope is 'zones'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a zoneCLOUDFLARE_API_KEY_DELETE_ZONEAcciónTool to delete an existing zone. Use after confirming the zone_id to permanently remove the zone.
CLOUDFLARE_API_KEY_DELETE_ZONEAcciónTool to delete an existing zone. Use after confirming the zone_id to permanently remove the zone.
Parámetros de entrada
zone_idstringObligatorioZone identifier to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Entrypoint Ruleset VersionCLOUDFLARE_API_KEY_GET_ENTRYPOINT_RULESET_VERSIONAcciónTool to get a specific version of an entry point ruleset. Use after determining the ruleset phase and version.
CLOUDFLARE_API_KEY_GET_ENTRYPOINT_RULESET_VERSIONAcciónTool to get a specific version of an entry point ruleset. Use after determining the ruleset phase and version.
Parámetros de entrada
ruleset_phasestringObligatorioExecution phase of the ruleset. E.g., ddos_l4, http_request_firewall_custom, http_request_transform, http_response_headers_transform, magic_transit, etc.
ruleset_versionstringObligatorioThe specific version identifier of the entry point ruleset to fetch
accounts_or_zonesstringObligatorioenumScope for the ruleset: 'accounts' or 'zones'
accountszonesaccount_or_zone_idstringObligatorioIdentifier of the account (when accounts) or zone (when zones)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Lockdown RuleCLOUDFLARE_API_KEY_GET_LOCKDOWN_RULEAcciónTool 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.
CLOUDFLARE_API_KEY_GET_LOCKDOWN_RULEAcciónTool 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.
Parámetros de entrada
zone_idstringObligatorioIdentifier of the Cloudflare zone (max length 32)
lockdown_idstringObligatorioUnique identifier of the Zone Lockdown rule (max length 32)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Regional Tiered CacheCLOUDFLARE_API_KEY_GET_REGIONAL_TIERED_CACHEAcciónTool 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.
CLOUDFLARE_API_KEY_GET_REGIONAL_TIERED_CACHEAcciónTool 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.
Parámetros de entrada
zone_idstringObligatorioIdentifier of the Cloudflare zone (max 32 characters)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get RulesetCLOUDFLARE_API_KEY_GET_RULESETAcciónTool to fetch the latest version of a ruleset by ID. Use after you have the ruleset scope and ID.
CLOUDFLARE_API_KEY_GET_RULESETAcciónTool to fetch the latest version of a ruleset by ID. Use after you have the ruleset scope and ID.
Parámetros de entrada
zone_idstringDNS zone ID; required if accounts_or_zones='zones', mutually exclusive with account_id.
account_idstringCloudflare account ID; required if accounts_or_zones='accounts', mutually exclusive with zone_id.
ruleset_idstringObligatorioThe unique ID of the ruleset to retrieve.
accounts_or_zonesstringObligatorioenumMust be 'accounts' or 'zones' to select the account- or zone-level endpoint.
accountszones
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Zone DetailsCLOUDFLARE_API_KEY_GET_ZONE_DETAILSAcciónTool to get details for a specific zone. Use when you need detailed zone metadata by ID.
CLOUDFLARE_API_KEY_GET_ZONE_DETAILSAcciónTool to get details for a specific zone. Use when you need detailed zone metadata by ID.
Parámetros de entrada
zone_idstringObligatorioIdentifier for the zone (max length 32)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DNS RecordsCLOUDFLARE_API_KEY_LIST_DNS_RECORDSAcciónTool to list DNS records for a given Cloudflare zone.
CLOUDFLARE_API_KEY_LIST_DNS_RECORDSAcciónTool to list DNS records for a given Cloudflare zone.
Parámetros de entrada
namestringFilter by fully qualified record name in Punycode.
pageintegerPage number (min: 1, default: 1).
typestringenumFilter by DNS record type.
AAAAACNAMEMXTXTSRVLOCSPFCERTDNSKEYDSNAPTR+5matchstringenumWhether to match any or all filter requirements (default: all).
anyallorderstringenumField to order by.
typenamecontentttlproxiedcontentstringFilter by record content; semantics depend on record type (e.g., IP for A, target for CNAME).
zone_idstringObligatorioZone identifier to list DNS records for.
per_pageintegerResults per page (min: 5, max: 100, default: 20).
directionstringenumDirection to order records.
ascdesc
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Cloudflare ZonesCLOUDFLARE_API_KEY_LIST_ZONESAcciónTool to list, search, sort, and filter Cloudflare zones. Use when you need to retrieve a paginated list of zones available to the authenticated user.
CLOUDFLARE_API_KEY_LIST_ZONESAcciónTool to list, search, sort, and filter Cloudflare zones. Use when you need to retrieve a paginated list of zones available to the authenticated user.
Parámetros de entrada
namestringA domain name; supports the same operators as account.name.
pageintegerPage number (min: 1, default: 1).
matchstringenumWhether to match any or all search requirements (default: all).
anyallorderstringenumField to order by.
namestatusaccount.idaccount.nameplan.idstatusstringenumFilter by zone status.
initializingpendingactivemovedper_pageintegerResults per page (min: 5, max: 50, default: 20).
directionstringenumDirection to order zones.
ascdescaccount.idstringFilter by an account ID.
account.namestringAccount name; supports operators: equal (default), not_equal, starts_with, ends_with, contains, starts_with_case_sensitive, ends_with_case_sensitive, contains_case_sensitive.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Overwrite DNS RecordCLOUDFLARE_API_KEY_OVERWRITE_DNS_RECORDAcciónTool to completely overwrite a DNS record. Use when you need to replace all record details after confirming record type and name.
CLOUDFLARE_API_KEY_OVERWRITE_DNS_RECORDAcciónTool to completely overwrite a DNS record. Use when you need to replace all record details after confirming record type and name.
Parámetros de entrada
ttlintegerTime to live for DNS record in seconds; 1 means automatic (Cloudflare default).
namestringObligatorioFully qualified DNS record name in Punycode.
tagsstring[]Custom tags in the form 'name:value'.
typestringObligatorioenumDNS record type.
AAAAACNAMEMXTXTSRVLOCSPFCERTDNSKEYDSNAPTR+5commentstringFree-form comment for the DNS record.
contentstringRecord content; e.g., IPv4 address for A records, target hostname for CNAME, etc.
proxiedbooleanWhether the record is receiving the performance and security benefits of Cloudflare.
zone_idstringObligatorioZone identifier containing the DNS record.
settingsobjectType-specific settings object for proxied record; passed through to the API.
dns_record_idstringObligatorioIdentifier of the DNS record to overwrite.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Rerun Zone Activation CheckCLOUDFLARE_API_KEY_RERUN_ZONE_ACTIVATION_CHECKAcciónTool to trigger a new activation check for a PENDING zone. Use after initial zone creation to revalidate DNS activation. Limited rate: every 5 minutes on paygo/Enterprise or hourly on Free.
CLOUDFLARE_API_KEY_RERUN_ZONE_ACTIVATION_CHECKAcciónTool to trigger a new activation check for a PENDING zone. Use after initial zone creation to revalidate DNS activation. Limited rate: every 5 minutes on paygo/Enterprise or hourly on Free.
Parámetros de entrada
zone_idstringObligatorioZone identifier (max length 32 characters)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update DNSSEC StatusCLOUDFLARE_API_KEY_UPDATE_DNSSEC_STATUSAcciónTool 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.
CLOUDFLARE_API_KEY_UPDATE_DNSSEC_STATUSAcciónTool 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.
Parámetros de entrada
statusstringenumDesired DNSSEC state. Use 'active' to enable or 'disabled' to turn off DNSSEC.
activedisabledzone_idstringObligatorioIdentifier of the zone to update.
dnssec_presignedbooleanAllow transfer-in of a pre-signed zone without on-the-fly signing.
dnssec_use_nsec3booleanEnable NSEC3 together with DNSSEC (commonly used when transferring from another provider).
dnssec_multi_signerbooleanEnable multi-signer DNSSEC so multiple providers can serve a signed zone.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Lockdown RuleCLOUDFLARE_API_KEY_UPDATE_LOCKDOWN_RULEAcciónTool 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.
CLOUDFLARE_API_KEY_UPDATE_LOCKDOWN_RULEAcciónTool 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.
Parámetros de entrada
urlsstring[]ObligatorioList of URLs to include in the rule; wildcards supported.
zone_idstringObligatorioIdentifier of the Cloudflare zone.
lock_downs_idstringObligatorioIdentifier of the Zone Lockdown rule to update.
configurationsarrayObligatorioList of allowed IP or CIDR configurations.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Rule in RulesetCLOUDFLARE_API_KEY_UPDATE_RULE_IN_RULESETAcciónTool 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.
CLOUDFLARE_API_KEY_UPDATE_RULE_IN_RULESETAcciónTool 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.
Parámetros de entrada
ruleobjectFields to update on a rule.
rule_idstringObligatorioID of the rule to update.
positionobjectPosition for reordering a rule within its ruleset.
ruleset_idstringObligatorioID of the ruleset containing the rule.
accounts_or_zonesstringObligatorioenumScope type: 'accounts' for account rulesets or 'zones' for zone rulesets.
accountszonesaccount_or_zone_idstringObligatorioID of the account or zone.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update RulesetCLOUDFLARE_API_KEY_UPDATE_RULESETAcciónTool to update a Cloudflare ruleset, creating a new version. Use when you need to modify ruleset description or rules list.
CLOUDFLARE_API_KEY_UPDATE_RULESETAcciónTool to update a Cloudflare ruleset, creating a new version. Use when you need to modify ruleset description or rules list.
Parámetros de entrada
kindstringRuleset kind (e.g., firewall); generally immutable via this endpoint.
namestringHuman-readable name for the new ruleset version.
phasestringExecution phase of the ruleset (e.g., http_request_firewall_custom).
rulesobject[]List of rule objects defining this ruleset version.
ruleset_idstringObligatorioIdentifier of the ruleset to update.
descriptionstringInformative description of the new ruleset version.
accounts_or_zonesstringObligatorioenumScope: "accounts" to update account-level rulesets or "zones" for zone-level.
accountszonesaccount_or_zone_idstringObligatorioIdentifier of the account or zone depending on the scope.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Cloudflare ZoneCLOUDFLARE_API_KEY_UPDATE_ZONEAcciónTool 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.
CLOUDFLARE_API_KEY_UPDATE_ZONEAcciónTool 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.
Parámetros de entrada
typestringenumZone type: 'full' (Cloudflare DNS), 'partial' (CNAME setup), or 'secondary'
fullpartialsecondarypausedbooleanToggle DNS-only mode; true to disable security and performance features
zone_idstringObligatorioIdentifier of the zone to update (max length 32)
vanity_name_serversstring[]Custom nameserver domains (Business and Enterprise plans only)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload File to S3CLOUDFLARE_API_KEY_UPLOAD_FILE_TO_S3AcciónTool to upload arbitrary file content to the app’s temporary R2/S3 bucket. Use when you need to stage files for actions requiring FileUploadable.
CLOUDFLARE_API_KEY_UPLOAD_FILE_TO_S3AcciónTool to upload arbitrary file content to the app’s temporary R2/S3 bucket. Use when you need to stage files for actions requiring FileUploadable.
Parámetros de entrada
contentstringObligatorioRaw content of the file as a string; encoded as UTF-8 when uploaded.
mimetypestringMIME type of the file.
file_namestringObligatorioFilename (including extension) to store in R2/S3.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not