Jump to Content
Service Status
Support Hub
[email protected]
Home
Documentation
API Reference
Service Status
Support Hub
[email protected]
Log In
API Reference
Log In
Moon (Dark Mode)
Sun (Light Mode)
Home
Documentation
API Reference
Get Current Promotions
Search
All
Pages
Start typing to search…
JUMP TO
bunny.net API
API Overview
Countries
Get Country List
get
DNS Zone
List DNS Zones
get
Add DNS Zone
post
Get DNS Zone
get
Update DNS Zones
post
Delete DNS Zone
del
Export
get
Check the DNS zone availability
post
Update DNS Record
post
Delete DNS Record
del
Import DNS Records
post
Add DNS Record
put
Enable DNSSEC on a DNS Zone
post
Disable DNSSEC on a DNS Zone
del
Get DNS Query Statistics
get
Pull Zone
List Pull Zones
get
Add Pull Zone
post
Get Pull Zone
get
Update Pull Zone
post
Delete Pull Zone
del
Get Origin Shield Queue Statistics
get
Get SafeHop Statistics
get
Get Optimizer Statistics
get
Load Free Certificate
get
Add/Update Edge Rule
post
Set Edge Rule Enabled
post
Purge Cache
post
Check the pull zone availability
post
Add Custom Certificate
post
Add Custom Hostname
post
Set Force SSL
post
Reset Token Key
post
Add Allowed Referer
post
Remove Allowed Referer
post
Add Blocked Referer
post
Remove Blocked Referer
post
Add Blocked IP
post
Remove Blocked IP
post
Delete Edge Rule
del
Remove Certificate
del
Remove Custom Hostname
del
Stream Video Library
List Video Libraries
get
Add Video Library
post
Get Video Library
get
Update Video Library
post
Delete Video Library
del
Get Languages
get
Reset Password
post
Reset Password
post
Add Allowed Referer
post
Remove Allowed Referer
post
Add Blocked Referer
post
Remove Blocked Referer
post
Add Watermark
put
Delete Watermark
del
Get Video Library DRM Statistics
get
Get Video Library Transcribing Statistics
get
Storage Zone
List Storage Zones
get
Add Storage Zone
post
Get Storage Zone
get
Update Storage Zone
post
Delete Storage Zone
del
Check the storage zone availability
post
Reset Password
post
Reset Read-Only Password
post
Get Storage Zone Statistics
get
Region
Region list
get
Purge
Purge URL
post
Statistics
Get Statistics
get
API Keys
List API Keys
get
User
GetUserAuditLog
get
Edge Storage API
API Overview
Limits
Manage Files
Download File
get
Upload File
Delete File
del
API Limits
Browse Files
List Files
get
Stream API
API Overview
TUS Resumable Uploads
Manage Collections
Get Collection
get
Update Collection
post
Delete Collection
del
Get Collection List
get
Create Collection
post
Manage Videos
Get Video
get
Update Video
post
Delete Video
del
Upload Video
put
Get Video Heatmap
get
Get Video play data
get
Get Video Statistics
get
Get Video heatmap data
get
Reencode Video
post
Add output codec to video
put
Repackage Video
post
List Videos
get
Create Video
post
Set Thumbnail
post
Fetch Video
post
Add Caption
post
Delete Caption
del
Transcribe video
post
Video resolutions info
get
Cleanup unconfigured resolutions
post
Trigger Smart actions
post
OEmbed
/OEmbed
get
Edge Scripting API
Code
Get Code
get
Set Code
post
Edge Script
Delete Edge Script
del
Get Edge Script
get
Update Edge Script
post
Get Edge Script Statistics
get
List Edge Scripts
get
Add Edge Script
post
Rotate Deployment Key
post
Variable
Add Variable
post
Delete Variable
del
Get Variable
get
Update Variable
post
Upsert Variable
put
Secret
Add Secret
post
List Secrets
get
Upsert Secret
put
Delete Secret
del
Update Secret
post
Release
Get Active Release
get
Get Releases
get
Publish Release
post
Publish Release
post
Bunny Shield API
Shield Zone
Get All ShieldZones
get
Get ShieldZone by Id
get
Get ShieldZone by PullZone Id
get
Create ShieldZone
post
Update ShieldZone
patch
Get All ShieldZone to PullZone Mapping
get
WAF
Review Triggered Rules for ShieldZone
get
Action on Triggered Rule for ShieldZone
post
Shield AI Recommendation on Triggered Rule
get
Get Custom Rules for ShieldZone
get
Get Custom Rule by Id
get
Update Custom Rule
put
Update Custom Rule
patch
Delete Custom Rule
del
Create Custom Rule
post
Get Profiles
get
Get Enums
get
Get Shield Engine Configuration
get
Get WAF Rules by ShieldZone Id
get
Get WAF Rule Segmentation
get
DDoS
Get DDoS Enums
get
Rate Limiting
Get Ratelimits for ShieldZone Id
get
Get Ratelimit by Id
get
Update Ratelimit by Id
patch
Delete Ratelimit By Id
del
Create Ratelimit By Id
post
Metrics
Get Overview metrics by ShieldZone Id
get
Get All Ratelimit metrics by ShieldZone Id
get
Get Ratelimit metrics by Id
get
Get WAF Rule Metrics by Id
get
Get Bot Detection Metrics by ShieldZone Id
get
Get Upload Scanning Metrics by ShieldZone Id
get
Event Logs
Get Shield Event Logs
get
AccessLists
Get Access Lists by ShieldZone Id
get
Create Access List by ShieldZone Id
post
Update Curated Threat List by Id
patch
Get Access List by Id
get
Update Access List by Id
patch
Delete Access List by Id
del
Get Access List Enums
get
BotDetection
Get Bot Detection by ShieldZone Id
get
Create or Update Bot Detection by ShieldZone Id
patch
Promo
Get Current Promotions
get
UploadScanning
Get Upload Scanning by ShieldZone Id
get
Create or Update Upload Scanning by ShieldZone Id
patch
Origin Errors API
Origin Errors
Get Origin Errors for PullZone Id and Date
get
Powered by
Get Current Promotions
get
https://api.bunny.net/shield/promo/state
Language
Shell
Node
Ruby
PHP
Python
RESPONSE
Click
Try It!
to start a request and see the response here!