Developer Tools

BunnyCDN

BunnyCDN is a powerful content delivery network (CDN) offering an API to manage and deliver content globally with ease.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Add Allowed Referer

    Adds a hostname to the allowed referer list for a pull zone. Use this action to restrict content access by configuring referer-based security. Only requests with a Referer header matching one of the allowed hostnames will be able to access the pull zone content. This helps prevent hotlinking and unauthorized content usage from other websites.

  • Add Blocked IP

    Tool to add an IP address to the blocked list of a pull zone. Use when you need to restrict access from specific IPs to prevent unwanted traffic.

  • Add Blocked Referer

    Tool to add a blocked referer to a pull zone. Use when you need to prevent specific domains from hotlinking or accessing content from your CDN.

  • Add/Update Edge Rule

    Tool to add or update edge rules in a BunnyCDN pull zone for advanced traffic control. Edge rules allow conditional request processing based on triggers like URL patterns, headers, country codes, or IP addresses. Each rule can perform actions like forcing SSL, redirecting, setting headers, overriding cache TTL, or blocking requests. Common use cases: - Force HTTPS: ActionType=force_ssl with URL trigger '/*' - Redirect old URLs: ActionType=redirect with specific URL pattern - Cache API responses: ActionType=override_cache_time for '/api/*' paths - Block specific countries: ActionType=block_request with country code trigger - Add security headers: ActionType=set_response_header for CORS/CSP headers To update an existing rule, provide the Guid from the creation response or from listing rules.

  • Invalidate Database Auth Tokens

    Tool to invalidate all authentication tokens for a BunnyCDN database. Use when you need to revoke all active access credentials for a specific database.

  • Invalidate Group Auth Tokens

    Tool to invalidate authentication tokens for a specific database group. Use when you need to revoke all active tokens for a group.

  • Post Shield WAF Rules Review Triggered

    Tool to review and apply actions to triggered WAF rules in a specific Shield Zone. Use when you need to whitelist, block, or challenge specific WAF rules based on their triggered status.

  • Remove Allowed Referer

    Removes a hostname from the allowed referer list for a pull zone. Use this action to remove a previously configured referer-based security restriction. After removal, the specified hostname will no longer be allowed to access the pull zone content. This is useful when updating referer security policies or removing domains that should no longer have access.

  • Remove Blocked IP

    Tool to remove an IP address from the blocked list of a pull zone. Use when you need to restore access for specific IPs that were previously blocked.

  • Remove Blocked Referer

    Tool to remove a blocked referer from a pull zone. Use when you need to allow a previously blocked domain to access content from your CDN again.

  • Reset Pull Zone Security Key

    Tool to reset the security token key for a specific pull zone. Use when you need to regenerate the security key for authentication purposes.

  • Reset What's New

    Tool to reset the What's New notification list for the current user. Use when you need to mark all What's New items as read and reset the unread count.

  • Restore Database

    Tool to restore a BunnyCDN database to a specific generation/version. This is a destructive operation that will revert the database to the specified point in time. Use when you need to recover data from a previous version or undo unwanted changes. WARNING: This operation is destructive and will overwrite current database state.

  • Set Edge Rule Enabled

    Tool to enable or disable an edge rule in a BunnyCDN pull zone. Use when you need to activate or deactivate an existing edge rule without modifying its configuration. Edge rules that are disabled remain configured but do not execute. This allows you to temporarily turn off rules without deleting them. Common use cases: temporarily disable security rules for testing, enable/disable seasonal redirects, or toggle feature flags implemented as edge rules.

  • Set Force SSL

    Tool to set Force SSL on a pull zone hostname. Use when you need to enable or disable HTTPS enforcement for a specific hostname.

  • Set Notifications Opened

    Tool to mark all user notifications as opened. Use when you need to clear unread notification indicators. Returns success once notifications are marked as read.

  • Update Database

    Tool to update an existing Bunny Database. Use when you need to change database name or control read/write access.

  • Update Database Group

    Update the name of a database group by its ID.

  • Update Pull Zone

    Tool to update settings for a specific pull zone. Use when you need to modify existing pull zone settings after reviewing current configuration.

  • Update Shield Bot Detection Configuration

    Tool to update bot detection configuration for a specific Shield Zone. Use when you need to modify bot detection settings, sensitivity levels, or execution mode. Note: Bot detection requires Advanced tier subscription.

Page 1 / 2Next