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
Output:
object
Output full type
Output full type
Billing
summary
billing.summary
Retrieve the billing summary for the account
Risk: read
object[]
Output full type
Output full type
Containers
applicationsList
containers.applicationsList
List Magic Container applications
Risk: read
Output: empty object
configSuggestions
containers.configSuggestions
Get deployment configuration suggestions for a container image
Risk: read
Output: empty object
imageDigest
containers.imageDigest
Get the digest of a container image
Risk: read
Output: empty object
imageTags
containers.imageTags
List tags for a container image
Risk: read
Output: empty object
nodesList
containers.nodesList
List Magic Container nodes
Risk: read
Output: empty object
optimalBaseRegion
containers.optimalBaseRegion
Get the optimal base region for Magic Containers
Risk: read
Output: empty object
publicImagesSearch
containers.publicImagesSearch
Search public container images by prefix
Risk: read
Output: empty object
regionsList
containers.regionsList
List Magic Container regions
Risk: read
Output: empty object
registriesList
containers.registriesList
List container registries
Risk: read
registryDelete
containers.registryDelete
Delete a container registry
Risk: destructive
Output: empty object
userLimits
containers.userLimits
Get Magic Container limits for the account
Risk: read
volumesList
containers.volumesList
List volumes for a Magic Container application
Risk: read
Output: empty object
Dns Zone
checkAvailability
dnsZone.checkAvailability
Check whether a DNS zone name is available
Risk: read
Output
createRecord
dnsZone.createRecord
Create a new DNS record in a DNS zone
Risk: write
record full type
record full type
deleteRecord
dnsZone.deleteRecord
Delete a DNS record
Risk: destructive
Output
get
dnsZone.get
Get details of a specific DNS zone
Risk: read
Output
list
dnsZone.list
List all DNS zones
Risk: read
Output:
object
Output full type
Output full type
updateRecord
dnsZone.updateRecord
Update an existing DNS record
Risk: write
record full type
record full type
Edge Scripts
list
edgeScripts.list
List all edge scripts
Risk: read
Output:
object
Output full type
Output full type
Pull Zone
addAllowedReferrer
pullZone.addAllowedReferrer
Add a hostname to the allowed referer list
Risk: write
Output
addBlockedIp
pullZone.addBlockedIp
Add an IP address to the blocked list
Risk: write
Output
addBlockedReferrer
pullZone.addBlockedReferrer
Add a blocked referer to a pull zone
Risk: write
Output
checkAvailability
pullZone.checkAvailability
Check whether a pull zone name is available
Risk: read
Output
create
pullZone.create
Create a new pull zone
Risk: write
settings full type
settings full type
Hostnames full type
Hostnames full type
edgeRuleDelete
pullZone.edgeRuleDelete
Delete an edge rule from a pull zone
Risk: destructive
Output
edgeRuleSetEnabled
pullZone.edgeRuleSetEnabled
Enable or disable an edge rule without deleting it
Risk: write
Output
edgeRuleUpsert
pullZone.edgeRuleUpsert
Add or update an edge rule on a pull zone
Risk: write
rule full type
rule full type
get
pullZone.get
Get details of a specific pull zone by ID
Risk: read
Output
Hostnames full type
Hostnames full type
list
pullZone.list
List pull zones with pagination and search
Risk: read
Output:
object
Output full type
Output full type
optimizerStatistics
pullZone.optimizerStatistics
Retrieve optimizer statistics for a pull zone
Risk: read
Output: empty object
originShieldQueueStatistics
pullZone.originShieldQueueStatistics
Retrieve origin shield queue statistics for a pull zone
Risk: read
Output: empty object
purgeCache
pullZone.purgeCache
Purge cached content for a pull zone, optionally by cache tag
Risk: write
Output
remove
pullZone.remove
Delete a specific pull zone by ID
Risk: destructive
Output
removeAllowedReferrer
pullZone.removeAllowedReferrer
Remove a hostname from the allowed referer list
Risk: write
Output
removeBlockedIp
pullZone.removeBlockedIp
Remove an IP address from the blocked list
Risk: write
Output
removeBlockedReferrer
pullZone.removeBlockedReferrer
Remove a blocked referer from a pull zone
Risk: write
Output
resetSecurityKey
pullZone.resetSecurityKey
Reset the URL token security key for a pull zone
Risk: write
Output
safeHopStatistics
pullZone.safeHopStatistics
Retrieve SafeHop statistics for a pull zone
Risk: read
Output: empty object
setForceSSL
pullZone.setForceSSL
Enable or disable Force SSL on a pull zone hostname
Risk: write
Output
update
pullZone.update
Update settings for a specific pull zone
Risk: write
settings full type
settings full type
Hostnames full type
Hostnames full type
Purge
url
purge.url
Purge a single URL from cache across pull zones
Risk: write
Output:
any
Search
global
search.global
Global search across pull zones, storage zones, DNS zones and more
Risk: read
Output: empty object
Shield
accessListConfigUpdate
shield.accessListConfigUpdate
Update an access list configuration action or enabled state
Risk: write
Output: empty object
accessListCreate
shield.accessListCreate
Create a custom access list in a shield zone
Risk: write
Output
accessListEnums
shield.accessListEnums
List available access list configuration values
Risk: read
Output: empty object
accessListGet
shield.accessListGet
Get a custom access list by ID
Risk: read
Output
accessListsList
shield.accessListsList
List access lists for a shield zone
Risk: read
Output: empty object
accessListUpdate
shield.accessListUpdate
Update a custom access list in a shield zone
Risk: write
Output
botDetectionGet
shield.botDetectionGet
Get the bot detection configuration for a shield zone
Risk: read
Output: empty object
botDetectionUpdate
shield.botDetectionUpdate
Update the bot detection configuration for a shield zone
Risk: write
Output: empty object
ddosEnums
shield.ddosEnums
List available Shield DDoS configuration values
Risk: read
eventLogs
shield.eventLogs
Get shield event logs for a zone and date with continuation token
Risk: read
Output: empty object
metricsBotDetection
shield.metricsBotDetection
Get bot detection metrics for a shield zone
Risk: read
Output: empty object
metricsOverview
shield.metricsOverview
Get the security metrics overview for a shield zone
Risk: read
Output: empty object
metricsOverviewDetailed
shield.metricsOverviewDetailed
Get detailed security metrics for a shield zone over a time range
Risk: read
Output: empty object
metricsRateLimit
shield.metricsRateLimit
Get metrics for a specific shield rate limit
Risk: read
Output: empty object
metricsRateLimits
shield.metricsRateLimits
Get aggregated rate limit metrics for a shield zone
Risk: read
Output: empty object
metricsUploadScanning
shield.metricsUploadScanning
Get upload scanning metrics for a shield zone
Risk: read
Output: empty object
metricsWafRule
shield.metricsWafRule
Get metrics for a specific WAF rule
Risk: read
Output: empty object
promoState
shield.promoState
Get the shield promotional state for the account
Risk: read
rateLimitCreate
shield.rateLimitCreate
Create a shield rate limit rule
Risk: write
ruleConfiguration full type
ruleConfiguration full type
rateLimitDelete
shield.rateLimitDelete
Delete a shield rate limit rule
Risk: destructive
Output
rateLimitGet
shield.rateLimitGet
Get a shield rate limit rule by ID
Risk: read
Output
rateLimitsList
shield.rateLimitsList
List rate limit rules for a shield zone
Risk: read
Output: empty object
rateLimitUpdate
shield.rateLimitUpdate
Update a shield rate limit rule
Risk: write
ruleConfiguration full type
ruleConfiguration full type
uploadScanningGet
shield.uploadScanningGet
Get the upload scanning configuration for a shield zone
Risk: read
Output: empty object
uploadScanningUpdate
shield.uploadScanningUpdate
Update the upload scanning configuration for a shield zone
Risk: write
Output: empty object
wafCustomRuleGet
shield.wafCustomRuleGet
Get a custom WAF rule by ID
Risk: read
Output: empty object
wafCustomRulesList
shield.wafCustomRulesList
List custom WAF rules for a shield zone
Risk: read
Output: empty object
wafEngineConfig
shield.wafEngineConfig
Get the Shield WAF engine configuration
Risk: read
wafEnums
shield.wafEnums
List available Shield WAF configuration values
Risk: read
wafProfiles
shield.wafProfiles
List available WAF security profiles
Risk: read
wafRulesByZone
shield.wafRulesByZone
List WAF rules for a shield zone
Risk: read
Output: empty object
wafRulesPlanSegmentation
shield.wafRulesPlanSegmentation
List WAF rules segmented by subscription plan
Risk: read
wafRulesReviewTriggered
shield.wafRulesReviewTriggered
List triggered WAF rules awaiting review
Risk: read
Output: empty object
wafRulesReviewTriggeredPost
shield.wafRulesReviewTriggeredPost
Apply an action to a triggered WAF rule
Risk: write
Output: empty object
zoneGet
shield.zoneGet
Get a shield zone configuration by ID
Risk: read
Output
zoneGetByPullZone
shield.zoneGetByPullZone
Get the shield zone configuration for a pull zone
Risk: read
Output
zonesList
shield.zonesList
List all shield zones
Risk: read
Output: empty object
zonesPullZoneMapping
shield.zonesPullZoneMapping
Get the mapping between shield zones and pull zones
Risk: read
zoneUpdate
shield.zoneUpdate
Update a shield zone configuration
Risk: write
shieldZone full type
shieldZone full type
Statistics
countries
statistics.countries
List countries supported by BunnyCDN
Risk: read
object[]
Output full type
Output full type
get
statistics.get
Retrieve CDN bandwidth and request statistics
Risk: read
Output: empty object
regions
statistics.regions
List BunnyCDN regions with pricing info
Risk: read
object[]
Output full type
Output full type
Storage Zone
checkAvailability
storageZone.checkAvailability
Check whether a storage zone name is available
Risk: read
Output
create
storageZone.create
Create a new storage zone
Risk: write
details full type
details full type
get
storageZone.get
Get details of a specific storage zone
Risk: read
Output
list
storageZone.list
List all storage zones
Risk: read
Output:
object
Output full type
Output full type
remove
storageZone.remove
Delete a storage zone and all of its data
Risk: destructive · Irreversible
Output
update
storageZone.update
Update settings for a specific storage zone
Risk: write
settings full type
settings full type
Stream
oembed
stream.oembed
Retrieve oEmbed metadata for a video embed
Risk: read
Output: empty object
User
auditLog
user.auditLog
Retrieve user audit log entries for a date
Risk: read
Output: empty object
Video Library
languages
videoLibrary.languages
List languages supported by video libraries
Risk: read
any[]
list
videoLibrary.list
List all video libraries
Risk: read
Output:
object
Output full type
Output full type