Skip to main content
Every bunnycdn.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Api Keys

list

apiKeys.list List API keys on the account Risk: read
Input Output: object

Billing

summary

billing.summary Retrieve the billing summary for the account Risk: read
Input: empty object Output: object[]

Containers

applicationsList

containers.applicationsList List Magic Container applications Risk: read
Input Output: empty object

configSuggestions

containers.configSuggestions Get deployment configuration suggestions for a container image Risk: read
Input Output: empty object

imageDigest

containers.imageDigest Get the digest of a container image Risk: read
Input Output: empty object

imageTags

containers.imageTags List tags for a container image Risk: read
Input Output: empty object

nodesList

containers.nodesList List Magic Container nodes Risk: read
Input Output: empty object

optimalBaseRegion

containers.optimalBaseRegion Get the optimal base region for Magic Containers Risk: read
Input Output: empty object

publicImagesSearch

containers.publicImagesSearch Search public container images by prefix Risk: read
Input Output: empty object

regionsList

containers.regionsList List Magic Container regions Risk: read
Input Output: empty object

registriesList

containers.registriesList List container registries Risk: read
Input: empty object Output: empty object

registryDelete

containers.registryDelete Delete a container registry Risk: destructive
Input Output: empty object

userLimits

containers.userLimits Get Magic Container limits for the account Risk: read
Input: empty object Output: empty object

volumesList

containers.volumesList List volumes for a Magic Container application Risk: read
Input Output: empty object

Dns Zone

checkAvailability

dnsZone.checkAvailability Check whether a DNS zone name is available Risk: read
Input Output

createRecord

dnsZone.createRecord Create a new DNS record in a DNS zone Risk: write
Input
Output

deleteRecord

dnsZone.deleteRecord Delete a DNS record Risk: destructive
Input Output

get

dnsZone.get Get details of a specific DNS zone Risk: read
Input Output

list

dnsZone.list List all DNS zones Risk: read
Input Output: object

updateRecord

dnsZone.updateRecord Update an existing DNS record Risk: write
Input
Output

Edge Scripts

list

edgeScripts.list List all edge scripts Risk: read
Input Output: object

Pull Zone

addAllowedReferrer

pullZone.addAllowedReferrer Add a hostname to the allowed referer list Risk: write
Input Output

addBlockedIp

pullZone.addBlockedIp Add an IP address to the blocked list Risk: write
Input Output

addBlockedReferrer

pullZone.addBlockedReferrer Add a blocked referer to a pull zone Risk: write
Input Output

checkAvailability

pullZone.checkAvailability Check whether a pull zone name is available Risk: read
Input Output

create

pullZone.create Create a new pull zone Risk: write
Input
Output

edgeRuleDelete

pullZone.edgeRuleDelete Delete an edge rule from a pull zone Risk: destructive
Input Output

edgeRuleSetEnabled

pullZone.edgeRuleSetEnabled Enable or disable an edge rule without deleting it Risk: write
Input Output

edgeRuleUpsert

pullZone.edgeRuleUpsert Add or update an edge rule on a pull zone Risk: write
Input
Output

get

pullZone.get Get details of a specific pull zone by ID Risk: read
Input Output

list

pullZone.list List pull zones with pagination and search Risk: read
Input Output: object

optimizerStatistics

pullZone.optimizerStatistics Retrieve optimizer statistics for a pull zone Risk: read
Input Output: empty object

originShieldQueueStatistics

pullZone.originShieldQueueStatistics Retrieve origin shield queue statistics for a pull zone Risk: read
Input Output: empty object

purgeCache

pullZone.purgeCache Purge cached content for a pull zone, optionally by cache tag Risk: write
Input Output

remove

pullZone.remove Delete a specific pull zone by ID Risk: destructive
Input Output

removeAllowedReferrer

pullZone.removeAllowedReferrer Remove a hostname from the allowed referer list Risk: write
Input Output

removeBlockedIp

pullZone.removeBlockedIp Remove an IP address from the blocked list Risk: write
Input Output

removeBlockedReferrer

pullZone.removeBlockedReferrer Remove a blocked referer from a pull zone Risk: write
Input Output

resetSecurityKey

pullZone.resetSecurityKey Reset the URL token security key for a pull zone Risk: write
Input Output

safeHopStatistics

pullZone.safeHopStatistics Retrieve SafeHop statistics for a pull zone Risk: read
Input Output: empty object

setForceSSL

pullZone.setForceSSL Enable or disable Force SSL on a pull zone hostname Risk: write
Input Output

update

pullZone.update Update settings for a specific pull zone Risk: write
Input
Output

Purge

url

purge.url Purge a single URL from cache across pull zones Risk: write
Input Output: any

global

search.global Global search across pull zones, storage zones, DNS zones and more Risk: read
Input Output: empty object

Shield

accessListConfigUpdate

shield.accessListConfigUpdate Update an access list configuration action or enabled state Risk: write
Input Output: empty object

accessListCreate

shield.accessListCreate Create a custom access list in a shield zone Risk: write
Input Output

accessListEnums

shield.accessListEnums List available access list configuration values Risk: read
Input Output: empty object

accessListGet

shield.accessListGet Get a custom access list by ID Risk: read
Input Output

accessListsList

shield.accessListsList List access lists for a shield zone Risk: read
Input Output: empty object

accessListUpdate

shield.accessListUpdate Update a custom access list in a shield zone Risk: write
Input Output

botDetectionGet

shield.botDetectionGet Get the bot detection configuration for a shield zone Risk: read
Input Output: empty object

botDetectionUpdate

shield.botDetectionUpdate Update the bot detection configuration for a shield zone Risk: write
Input Output: empty object

ddosEnums

shield.ddosEnums List available Shield DDoS configuration values Risk: read
Input: empty object Output: empty object

eventLogs

shield.eventLogs Get shield event logs for a zone and date with continuation token Risk: read
Input Output: empty object

metricsBotDetection

shield.metricsBotDetection Get bot detection metrics for a shield zone Risk: read
Input Output: empty object

metricsOverview

shield.metricsOverview Get the security metrics overview for a shield zone Risk: read
Input Output: empty object

metricsOverviewDetailed

shield.metricsOverviewDetailed Get detailed security metrics for a shield zone over a time range Risk: read
Input Output: empty object

metricsRateLimit

shield.metricsRateLimit Get metrics for a specific shield rate limit Risk: read
Input Output: empty object

metricsRateLimits

shield.metricsRateLimits Get aggregated rate limit metrics for a shield zone Risk: read
Input Output: empty object

metricsUploadScanning

shield.metricsUploadScanning Get upload scanning metrics for a shield zone Risk: read
Input Output: empty object

metricsWafRule

shield.metricsWafRule Get metrics for a specific WAF rule Risk: read
Input Output: empty object

promoState

shield.promoState Get the shield promotional state for the account Risk: read
Input: empty object Output: empty object

rateLimitCreate

shield.rateLimitCreate Create a shield rate limit rule Risk: write
Input
Output

rateLimitDelete

shield.rateLimitDelete Delete a shield rate limit rule Risk: destructive
Input Output

rateLimitGet

shield.rateLimitGet Get a shield rate limit rule by ID Risk: read
Input Output

rateLimitsList

shield.rateLimitsList List rate limit rules for a shield zone Risk: read
Input Output: empty object

rateLimitUpdate

shield.rateLimitUpdate Update a shield rate limit rule Risk: write
Input
Output

uploadScanningGet

shield.uploadScanningGet Get the upload scanning configuration for a shield zone Risk: read
Input Output: empty object

uploadScanningUpdate

shield.uploadScanningUpdate Update the upload scanning configuration for a shield zone Risk: write
Input Output: empty object

wafCustomRuleGet

shield.wafCustomRuleGet Get a custom WAF rule by ID Risk: read
Input Output: empty object

wafCustomRulesList

shield.wafCustomRulesList List custom WAF rules for a shield zone Risk: read
Input Output: empty object

wafEngineConfig

shield.wafEngineConfig Get the Shield WAF engine configuration Risk: read
Input: empty object Output: empty object

wafEnums

shield.wafEnums List available Shield WAF configuration values Risk: read
Input: empty object Output: empty object

wafProfiles

shield.wafProfiles List available WAF security profiles Risk: read
Input: empty object Output: empty object

wafRulesByZone

shield.wafRulesByZone List WAF rules for a shield zone Risk: read
Input Output: empty object

wafRulesPlanSegmentation

shield.wafRulesPlanSegmentation List WAF rules segmented by subscription plan Risk: read
Input: empty object Output: empty object

wafRulesReviewTriggered

shield.wafRulesReviewTriggered List triggered WAF rules awaiting review Risk: read
Input Output: empty object

wafRulesReviewTriggeredPost

shield.wafRulesReviewTriggeredPost Apply an action to a triggered WAF rule Risk: write
Input Output: empty object

zoneGet

shield.zoneGet Get a shield zone configuration by ID Risk: read
Input Output

zoneGetByPullZone

shield.zoneGetByPullZone Get the shield zone configuration for a pull zone Risk: read
Input Output

zonesList

shield.zonesList List all shield zones Risk: read
Input Output: empty object

zonesPullZoneMapping

shield.zonesPullZoneMapping Get the mapping between shield zones and pull zones Risk: read
Input: empty object Output: empty object

zoneUpdate

shield.zoneUpdate Update a shield zone configuration Risk: write
Input
Output: empty object

Statistics

countries

statistics.countries List countries supported by BunnyCDN Risk: read
Input: empty object Output: object[]

get

statistics.get Retrieve CDN bandwidth and request statistics Risk: read
Input Output: empty object

regions

statistics.regions List BunnyCDN regions with pricing info Risk: read
Input: empty object Output: object[]

Storage Zone

checkAvailability

storageZone.checkAvailability Check whether a storage zone name is available Risk: read
Input Output

create

storageZone.create Create a new storage zone Risk: write
Input
Output

get

storageZone.get Get details of a specific storage zone Risk: read
Input Output

list

storageZone.list List all storage zones Risk: read
Input Output: object

remove

storageZone.remove Delete a storage zone and all of its data Risk: destructive · Irreversible
Input Output

update

storageZone.update Update settings for a specific storage zone Risk: write
Input
Output

Stream

oembed

stream.oembed Retrieve oEmbed metadata for a video embed Risk: read
Input Output: empty object

User

auditLog

user.auditLog Retrieve user audit log entries for a date Risk: read
Input Output: empty object

Video Library

languages

videoLibrary.languages List languages supported by video libraries Risk: read
Input: empty object Output: any[]

list

videoLibrary.list List all video libraries Risk: read
Input Output: object