> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to bunny.net

The bunny.net connector lets your AI agent act in each user's bunny.net account. Each user connects their own bunny.net API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 56 tools.

**Authentication:** API Key
**Categories:** Developer Tools, Monitoring
**Tools:** 56: 25 read, 20 write, 11 destructive
**Users sign in with:** API key
**Built by:** Scalekit connector
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=BUNNYNET)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the bunny.net connection

   In **AgentKit > Connections**, create a bunny.net connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'bunnynet'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize bunny.net:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'bunnynet_dns_zones_list',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "bunnynet"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize bunny.net:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="bunnynet_dns_zones_list",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user opens the link once and enters their bunny.net credentials there. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'bunnynet_audit_log_get',
  toolInput: {
    date: '<date>',
  },
  connector: 'bunnynet',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="bunnynet_audit_log_get",
    tool_input={
        "date": "<date>",
    },
    connection_name="bunnynet",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `bunnynet_audit_log_get`

Get Audit Log · Read-only

Get the account audit log for one day: who changed which resource and how.
Returns log entries with actor, product, resource, action and time, and a continuation token for more.
Pass the token back to get the next page.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `date` (`string`, required): Day to read, YYYY-MM-DD. Example: 2026-05-20.
- `actor_id` (`array`, optional): Only changes by these users or API keys. Example: ["9a8b7c6d"].
- `continuation_token` (`string`, optional): Token from the previous page. Example: eyJwIjoxfQ.
- `limit` (`integer`, optional): Maximum entries. Example: 100.
- `order` (`string`, optional): Sort order. Example: Ascending. One of: `Ascending`, `Descending`.
- `product` (`array`, optional): Only these products. Example: ["PullZone"].
- `resource_id` (`array`, optional): Only these resource IDs. Example: ["1234567"].
- `resource_type` (`array`, optional): Only these resource types. Example: ["PullZone"].

Example input: `{"date":"<date>"}`

### `bunnynet_dns_records_list`

List DNS Records · Read-only

List the records in a DNS zone, with paging, a type filter and a search.
Returns each record's ID, type, name, value, TTL and routing settings.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `dns_zone_id` (`integer`, required): ID of the DNS zone. Get it from bunnynet_dns_zones_list. Example: 123456.
- `page` (`integer`, optional): Page number, starting at 1. Example: 1.
- `per_page` (`integer`, optional): Items per page (5 to 1000). Example: 100.
- `search` (`string`, optional): Text to filter results by name. Example: example.
- `type` (`integer`, optional): Only records of this type. Example: 0. One of: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`.

Example input: `{"dns_zone_id":123456}`

### `bunnynet_dns_zone_availability_check`

Check DNS Zone Availability · Read-only

Check whether a domain can be added as a DNS zone.
Returns whether the name is available.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Domain name to check, such as example.com. Example: example.com.

Example input: `{"name":"<name>"}`

### `bunnynet_dns_zone_export`

Export DNS Zone · Read-only

Export a DNS zone's records as a BIND zone file.
Returns the zone file as text.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `dns_zone_id` (`integer`, required): ID of the dns zone. Get it from bunnynet_dns_zones_list. Example: 123456.

Example input: `{"dns_zone_id":123456}`

### `bunnynet_dns_zone_get`

Get DNS Zone · Read-only

Get one DNS zone by ID.
Returns the zone's domain, nameserver settings, SOA email, DNSSEC state and its records.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `dns_zone_id` (`integer`, required): ID of the dns zone. Get it from bunnynet_dns_zones_list. Example: 123456.
- `view` (`integer`, optional): 0 = Full 1 = Lite. Example: 0. One of: `0`, `1`.

Example input: `{"dns_zone_id":123456}`

### `bunnynet_dns_zone_statistics_get`

Get DNS Zone Statistics · Read-only

Get DNS query statistics for a zone over a period.
Returns total queries and queries by type and over time.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `dns_zone_id` (`integer`, required): ID of the dns zone. Get it from bunnynet_dns_zones_list. Example: 123456.
- `date_from` (`string`, optional): Start of the period, ISO 8601 date or date-time. Defaults to 30 days ago. Example: 2026-05-01.
- `date_to` (`string`, optional): End of the period, ISO 8601 date or date-time. Defaults to now. Example: 2026-05-31.

Example input: `{"dns_zone_id":123456}`

### `bunnynet_dns_zones_list`

List DNS Zones · Read-only

List DNS zones in the account, with paging and a name search.
Returns each zone's ID, domain, nameservers and record count.
Use bunnynet_dns_zone_get for one zone with its records.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `page` (`integer`, optional): Page number, starting at 1. Example: 1.
- `per_page` (`integer`, optional): Items per page (5 to 1000). Example: 100.
- `search` (`string`, optional): Text to filter results by name. Example: example.
- `view` (`integer`, optional): 0 = Full 1 = Lite. Example: 0. One of: `0`, `1`.

Example input: `{}`

### `bunnynet_load_balancer_get`

Get Load Balancer · Read-only

Get one load balancer profile with its origin groups and origins.
Returns the profile's name, balancing method, sticky sessions and origins.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `load_balancer_id` (`integer`, required): ID of the load balancer. Get it from bunnynet_load_balancers_list. Example: 4567.

Example input: `{"load_balancer_id":4567}`

### `bunnynet_load_balancer_statistics_get`

Get Load Balancer Statistics · Read-only

Get traffic statistics for a load balancer over a period.
Returns requests and origin health over time.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `load_balancer_id` (`integer`, required): ID of the load balancer. Get it from bunnynet_load_balancers_list. Example: 4567.
- `exact_range` (`boolean`, optional): true to use the exact times. Example: false.
- `from` (`string`, optional): Start of the period, ISO 8601. Example: 2026-05-01.
- `hourly` (`boolean`, optional): true for hourly data points, false for daily. Example: false.
- `to` (`string`, optional): End of the period, ISO 8601. Example: 2026-05-31.

Example input: `{"load_balancer_id":4567}`

### `bunnynet_load_balancers_list`

List Load Balancers · Read-only

List load balancer profiles.
Returns each profile's ID, name, origin groups and settings.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `count` (`integer`, optional): Items per page. Example: 50.
- `page` (`integer`, optional): Page number, starting at 1. Example: 1.

Example input: `{}`

### `bunnynet_pull_zone_availability_check`

Check Pull Zone Name · Read-only

Check whether a pull zone name is free.
Returns whether the name is available.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Pull zone name to check. Example: my-site-cdn.

Example input: `{"name":"<name>"}`

### `bunnynet_pull_zone_get`

Get Pull Zone · Read-only

Get one pull zone by ID.
Returns the zone's origin, hostnames, edge rules, cache, security and optimizer settings.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.
- `include_certificate` (`boolean`, optional): true to include SSL certificate data for the hostnames. Example: false.

Example input: `{"pull_zone_id":1234567}`

### `bunnynet_pull_zone_optimizer_statistics_get`

Get Optimizer Statistics · Read-only

Get Bunny Optimizer statistics for a pull zone over a period.
Returns optimized requests, traffic saved and average processing time.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.
- `date_from` (`string`, optional): Start of the period, ISO 8601 date or date-time. Defaults to 30 days ago. Example: 2026-05-01.
- `date_to` (`string`, optional): End of the period, ISO 8601 date or date-time. Defaults to now. Example: 2026-05-31.
- `hourly` (`boolean`, optional): true for hourly data points, false for daily. Example: false.

Example input: `{"pull_zone_id":1234567}`

### `bunnynet_pull_zones_list`

List Pull Zones · Read-only

List pull zones (CDN zones), with paging and a name search.
Returns each zone's ID, name, origin, hostnames, enabled regions and traffic settings.
Use bunnynet_pull_zone_get for one zone.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `include_certificate` (`boolean`, optional): true to include SSL certificate data for the hostnames. Example: false.
- `page` (`integer`, optional): Page number, starting at 1. Example: 1.
- `per_page` (`integer`, optional): Items per page (5 to 1000). Example: 100.
- `search` (`string`, optional): Text to filter results by name. Example: example.

Example input: `{}`

### `bunnynet_regions_list`

List Edge Regions · Read-only

List the bunny.net edge regions with their pricing.
Returns each region's ID, name, continent and price per GB.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `bunnynet_search`

Search Resources · Read-only

Search pull zones, storage zones, DNS zones, video libraries and other resources in the account by name.
Returns matching resources with their type, ID and name.
Use it when you know a name but not the resource type or ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `search` (`string`, required): Text to search for. Example: my-site.
- `from` (`integer`, optional): Offset of the first result. Example: 0.
- `size` (`integer`, optional): Number of results. Example: 20.

Example input: `{"search":"<search>"}`

### `bunnynet_statistics_get`

Get CDN Statistics · Read-only

Get CDN traffic statistics for the account or one pull zone: bandwidth, requests, cache hit rate, errors and origin traffic over a period.
Returns totals and time series charts.
Use the load_* flags to add optional series.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `date_from` (`string`, optional): Start of the period, ISO 8601 date or date-time. Defaults to 30 days ago. Example: 2026-05-01.
- `date_to` (`string`, optional): End of the period, ISO 8601 date or date-time. Defaults to now. Example: 2026-05-31.
- `exact_range` (`boolean`, optional): true to use the exact dates instead of whole days. Example: true.
- `hourly` (`boolean`, optional): true for hourly data points, false for daily. Example: false.
- `load_bandwidth_used` (`boolean`, optional): true to include bandwidth used. Example: true.
- `load_errors` (`boolean`, optional): true to include error counts. Example: true.
- `load_geographic_traffic_distribution` (`boolean`, optional): true to include traffic by country. Example: true.
- `load_origin_response_times` (`boolean`, optional): true to include origin response times. Example: true.
- `load_origin_shield_bandwidth` (`boolean`, optional): true to include origin shield bandwidth. Example: true.
- `load_origin_traffic` (`boolean`, optional): true to include origin traffic. Example: true.
- `load_requests_served` (`boolean`, optional): true to include requests served. Example: true.
- `pull_zone` (`integer`, optional): Only this pull zone ID; -1 or empty for all. Example: 1234567.
- `server_zone_id` (`integer`, optional): Only this edge region ID. Example: 1.

Example input: `{}`

### `bunnynet_storage_zone_availability_check`

Check Storage Zone Name · Read-only

Check whether a storage zone name is free.
Returns whether the name is available.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Storage zone name to check. Example: my-files.

Example input: `{"name":"<name>"}`

### `bunnynet_storage_zone_get`

Get Storage Zone · Read-only

Get one storage zone by ID.
Returns the zone's name, region, replication, usage, files count and linked pull zones.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `storage_zone_id` (`integer`, required): ID of the storage zone. Get it from bunnynet_storage_zones_list. Example: 234567.

Example input: `{"storage_zone_id":234567}`

### `bunnynet_storage_zone_regions_list`

List Storage Regions · Read-only

List the regions where storage zones can be created.
Returns each region's code, name and pricing.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `bunnynet_storage_zone_statistics_get`

Get Storage Zone Statistics · Read-only

Get storage statistics for a zone over a period.
Returns storage used and file count over time.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `storage_zone_id` (`integer`, required): ID of the storage zone. Get it from bunnynet_storage_zones_list. Example: 234567.
- `date_from` (`string`, optional): Start of the period, ISO 8601 date or date-time. Defaults to 30 days ago. Example: 2026-05-01.
- `date_to` (`string`, optional): End of the period, ISO 8601 date or date-time. Defaults to now. Example: 2026-05-31.

Example input: `{"storage_zone_id":234567}`

### `bunnynet_storage_zones_list`

List Storage Zones · Read-only

List storage zones, with paging and a name search.
Returns each zone's ID, name, region, replication regions, usage and linked pull zones.
Storage zone passwords in the response give file-level access; handle them carefully.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `include_deleted` (`boolean`, optional): true to include deleted zones. Example: false.
- `page` (`integer`, optional): Page number, starting at 1. Example: 1.
- `per_page` (`integer`, optional): Items per page (5 to 1000). Example: 100.
- `search` (`string`, optional): Text to filter results by name. Example: example.

Example input: `{}`

### `bunnynet_video_libraries_list`

List Video Libraries · Read-only

List Bunny Stream video libraries, with paging and a name search.
Returns each library's ID, name, video count, storage and traffic usage and settings.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `page` (`integer`, optional): Page number, starting at 1. Example: 1.
- `per_page` (`integer`, optional): Items per page (5 to 1000). Example: 100.
- `search` (`string`, optional): Text to filter results by name. Example: example.

Example input: `{}`

### `bunnynet_video_library_get`

Get Video Library · Read-only

Get one Bunny Stream video library by ID.
Returns the library's name, video count, regions, encoding and player settings.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `video_library_id` (`integer`, required): ID of the video library. Get it from bunnynet_video_libraries_list. Example: 345678.

Example input: `{"video_library_id":345678}`

### `bunnynet_video_library_languages_list`

List Video Languages · Read-only

List the languages supported for video captions and the player.
Returns each language's code and name.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `bunnynet_dns_record_add`

Add DNS Record · Write

Add a record to a DNS zone.
Returns the new record with its ID.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `dns_zone_id` (`integer`, required): ID of the DNS zone. Get it from bunnynet_dns_zones_list. Example: 123456.
- `type` (`integer`, required): <details> <summary>Show all 16 values</summary> | Value | Name | |---|---| | `0` | A | | `1` | AAAA | | `2` | CNAME | | `3` | TXT | | `4` | MX | | `5` | Redirect | | `6` | Flatten | | `7` | Pull Zone | | `8` | SRV | | `9` | CAA | | `10` | PTR | | `11` | Script | | `12` | NS | | `13` | SVCB | | `14` | HTTPS | | `15` | TLSA | </details>. Example: 0. One of: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`.
- `value` (`string`, required): Record value, such as an IP address, hostname or text. Example: 203.0.113.10.
- `accelerated` (`boolean`, optional): true to route the record through the bunny.net CDN. Example: false.
- `comment` (`string`, optional): Comment. Example: Main website.
- `disabled` (`boolean`, optional): Disabled. Example: false.
- `flags` (`integer`, optional): Flags, for CAA records. Example: 0.
- `monitor_type` (`integer`, optional): 0 = None 1 = Ping 2 = HTTP 3 = Monitor. Example: 0. One of: `0`, `1`, `2`, `3`.
- `name` (`string`, optional): Record name relative to the zone, such as www; leave empty for the zone apex. Example: www.
- `port` (`integer`, optional): Port, for SRV records. Example: 443.
- `priority` (`integer`, optional): Priority, for MX and SRV records. Example: 10.
- `pull_zone_id` (`integer`, optional): Pull zone ID, for a Pull Zone (7) record. Example: 1234567.
- `smart_routing_type` (`integer`, optional): 0 = None 1 = Latency 2 = Geolocation. Example: 0. One of: `0`, `1`, `2`.
- `tag` (`string`, optional): CAA tag, such as issue. Example: issue.
- `ttl` (`integer`, optional): Time to live in seconds. Example: 300.
- `weight` (`integer`, optional): Weight, for SRV records and weighted routing. Example: 100.

Example input: `{"dns_zone_id":123456,"type":0,"value":"<value>"}`

### `bunnynet_dns_record_update`

Update DNS Record · Write

Update a DNS record's value, TTL or routing settings.
Returns an empty response on success.
Only the fields you pass change.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `dns_record_id` (`integer`, required): ID of the DNS record. Get it from bunnynet_dns_records_list. Example: 9876543.
- `dns_zone_id` (`integer`, required): ID of the DNS zone. Get it from bunnynet_dns_zones_list. Example: 123456.
- `accelerated` (`boolean`, optional): true to route the record through the bunny.net CDN. Example: false.
- `comment` (`string`, optional): Comment. Example: Main website.
- `disabled` (`boolean`, optional): Disabled. Example: false.
- `flags` (`integer`, optional): Flags, for CAA records. Example: 0.
- `monitor_type` (`integer`, optional): 0 = None 1 = Ping 2 = HTTP 3 = Monitor. Example: 0. One of: `0`, `1`, `2`, `3`.
- `name` (`string`, optional): Record name relative to the zone, such as www; leave empty for the zone apex. Example: www.
- `port` (`integer`, optional): Port, for SRV records. Example: 443.
- `priority` (`integer`, optional): Priority, for MX and SRV records. Example: 10.
- `pull_zone_id` (`integer`, optional): Pull zone ID, for a Pull Zone (7) record. Example: 1234567.
- `smart_routing_type` (`integer`, optional): 0 = None 1 = Latency 2 = Geolocation. Example: 0. One of: `0`, `1`, `2`.
- `tag` (`string`, optional): CAA tag, such as issue. Example: issue.
- `ttl` (`integer`, optional): Time to live in seconds. Example: 300.
- `type` (`integer`, optional): <details> <summary>Show all 16 values</summary> | Value | Name | |---|---| | `0` | A | | `1` | AAAA | | `2` | CNAME | | `3` | TXT | | `4` | MX | | `5` | Redirect | | `6` | Flatten | | `7` | Pull Zone | | `8` | SRV | | `9` | CAA | | `10` | PTR | | `11` | Script | | `12` | NS | | `13` | SVCB | | `14` | HTTPS | | `15` | TLSA | </details>. Example: 0. One of: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`.
- `value` (`string`, optional): Record value, such as an IP address, hostname or text. Example: 203.0.113.10.
- `weight` (`integer`, optional): Weight, for SRV records and weighted routing. Example: 100.

Example input: `{"dns_record_id":9876543,"dns_zone_id":123456}`

### `bunnynet_dns_zone_create`

Create DNS Zone · Write

Add a domain as a DNS zone.
Returns the new zone with its ID and the nameservers to set at the registrar.
Use bunnynet_dns_zone_availability_check first.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `domain` (`string`, required): Domain name to add, such as example.com. Example: example.com.
- `records` (`array`, optional): Optional array of DNS records to add when creating the zone. Example: [{}].

Example input: `{"domain":"<domain>"}`

### `bunnynet_dns_zone_dnssec_enable`

Enable DNSSEC · Write

Enable DNSSEC on a DNS zone.
Returns the DS record details to add at the domain registrar.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `dns_zone_id` (`integer`, required): ID of the dns zone. Get it from bunnynet_dns_zones_list. Example: 123456.

Example input: `{"dns_zone_id":123456}`

### `bunnynet_dns_zone_update`

Update DNS Zone · Write

Update a DNS zone's nameserver, SOA email or logging settings.
Returns the updated zone.
Only the fields you pass change.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `dns_zone_id` (`integer`, required): ID of the dns zone. Get it from bunnynet_dns_zones_list. Example: 123456.
- `certificate_key_type` (`integer`, optional): Sets the certificate private key type for wildcard certificates for this zone 0 = ECDSA 1 = RSA. Example: 0. One of: `0`, `1`.
- `custom_nameservers_enabled` (`boolean`, optional): Custom Nameservers Enabled. Example: false.
- `log_anonymization_type` (`integer`, optional): Gets the log anonymization type for this zone 0 = One Digit 1 = Drop. Example: 0. One of: `0`, `1`.
- `logging_enabled` (`boolean`, optional): Logging Enabled. Example: true.
- `logging_ip_anonymization_enabled` (`boolean`, optional): Determines if the log anonoymization should be enabled. Example: true.
- `nameserver1` (`string`, optional): Nameserver1. Example: ns1.example.com.
- `nameserver2` (`string`, optional): Nameserver2. Example: ns2.example.com.
- `soa_email` (`string`, optional): Soa Email. Example: hostmaster@example.com.

Example input: `{"dns_zone_id":123456}`

### `bunnynet_edge_rule_add_or_update`

Add or Update Edge Rule · Write

Add an edge rule to a pull zone, or update one by passing its Guid.
Returns an empty response on success.
Edge rules run actions, such as redirects or header changes, when triggers match.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `action_type` (`integer`, required): The action type of the edge rule <details> <summary>Show all 38 values</summary> | Value | Name | |---|---| | `0` | Force SSL | | `1` | Redirect | | `2` | Origin URL | | `3` | Override Cache Time | | `4` | Block Request | | `5` | Set Response Header | | `6` | Set Request Header | | `7` | Force Download | | `8` | Disable Token Authentication | | `9` | Enable Token Authentication | | `10` | Override Cache Time Public | | `11` | Ignore Query String | | `12` | Disable Optimizer | | `13` | Force Compression | | `14` | Set Status Code | | `15` | Bypass Perma-Cache | | `16` | Override Browser Cache Time | | `17` | Origin Storage | | `18` | Set Network Rate Limit | | `19` | Set Connection Limit | | `20` | Set Requests Per Second Limit | | `21` | Run Edge Script | | `22` | Origin Magic Containers | | `23` | Disable WAF | | `24` | Retry Origin | | `25` | Override Browser Cache Response Header | | `26` | Remove Browser Cache Response Header | | `27` | Disable Shield Challenge | | `28` | Disable Shield | | `29` | Disable Shield Bot Detection | | `30` | Bypass AWS S3 Authentication | | `31` | Disable Shield Access Lists | | `32` | Disable Shield Rate Limiting | | `33` | Enable Request Coalescing | | `34` | Disable Request Coalescing | | `35` | Use Load Balancer | | `36` | Force Load Balancer Sticky Session Mode | | `37` | Strip Cookies (Client to Origin) | </details>. Example: 1. One of: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `32`, `33`, `34`, `35`, `36`, `37`.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.
- `triggers` (`array`, required): Trigger conditions: each has Type (0 URL, 1 request header, 2 response header, 3 file extension, 4 country, 5 remote IP, .), PatternMatches (list of patterns) and PatternMatchingType (0 match any, 1 match all, 2 match none). Example: [{"Type": 0, "PatternMatches": ["*/old/*"], "PatternMatchingType": 0}].
- `action_parameter1` (`string`, optional): First action parameter, such as the redirect URL. Example: https://example.com/new.
- `action_parameter2` (`string`, optional): Second action parameter, such as a header value. Example: 301.
- `description` (`string`, optional): The description of the edge rule. Example: Redirect old paths.
- `enabled` (`boolean`, optional): Determines if the edge rule is currently enabled or not. Example: true.
- `guid` (`string`, optional): ID of the edge rule to update; leave empty to add a new rule. Example: 3f1c2a9e-6b4d-4e8a-9c21-7d5e0b1a2f34.
- `trigger_matching_type` (`integer`, optional): The trigger matching type 0 = Match Any 1 = Match All 2 = Match None. Example: 0. One of: `0`, `1`, `2`.

Example input: `{"action_type":1,"pull_zone_id":1234567,"triggers":[]}`

### `bunnynet_edge_rule_enabled_set`

Enable or Disable Edge Rule · Write

Turn an edge rule on or off.
Returns an empty response on success.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `edge_rule_id` (`string`, required): GUID of the edge rule. Get it from bunnynet_pull_zone_get (EdgeRules). Example: 3f1c2a9e-6b4d-4e8a-9c21-7d5e0b1a2f34.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.
- `id` (`integer`, optional): ID of the pull zone; the same value as pull_zone_id. Example: 1234567.
- `value` (`boolean`, optional): true to enable the rule, false to disable it. Example: true.

Example input: `{"edge_rule_id":"<edge_rule_id>","pull_zone_id":1234567}`

### `bunnynet_free_certificate_load`

Load Free Certificate · Write

Issue a free Let's Encrypt certificate for a custom hostname on a pull zone.
Returns an empty response on success.
The hostname's CNAME must already point at the zone.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `hostname` (`string`, required): Custom hostname to issue the certificate for. Example: cdn.example.com.
- `use_only_http01` (`boolean`, optional): true to validate only with the HTTP-01 challenge. Example: false.

Example input: `{"hostname":"<hostname>"}`

### `bunnynet_pull_zone_allowed_referrer_add`

Add Allowed Referrer · Write

Add a referrer hostname to a pull zone's allow list.
Returns an empty response on success.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `hostname` (`string`, required): Referrer hostname, such as example.com; wildcards like *.example.com are allowed. Example: example.com.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"hostname":"<hostname>","pull_zone_id":1234567}`

### `bunnynet_pull_zone_blocked_ip_add`

Add Blocked IP · Write

Add an IP address to a pull zone's block list.
Returns an empty response on success.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `blocked_ip` (`string`, required): IP address to block or unblock, such as 203.0.113.7. Example: 203.0.113.7.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"blocked_ip":"<blocked_ip>","pull_zone_id":1234567}`

### `bunnynet_pull_zone_blocked_referrer_add`

Add Blocked Referrer · Write

Add a referrer hostname to a pull zone's block list.
Returns an empty response on success.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `hostname` (`string`, required): Referrer hostname, such as example.com; wildcards like *.example.com are allowed. Example: example.com.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"hostname":"<hostname>","pull_zone_id":1234567}`

### `bunnynet_pull_zone_cache_purge`

Purge Pull Zone Cache · Write

Purge the whole cache of a pull zone, or only files with a cache tag.
Returns an empty response on success.
Use bunnynet_url_purge to purge a single URL.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.
- `cache_tag` (`string`, optional): Only purge files with this cache tag. Example: product-images.

Example input: `{"pull_zone_id":1234567}`

### `bunnynet_pull_zone_create`

Create Pull Zone · Write

Create a pull zone (CDN zone) for an origin URL or a storage zone.
Returns the new pull zone with its ID and b-cdn.net hostname.
Use bunnynet_pull_zone_availability_check to check the name first.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Name of the pull zone; it becomes <name>.b-cdn.net. Example: my-site-cdn.
- `add_canonical_header` (`boolean`, optional): Determines if the canonical header should be added by this zone. Example: false.
- `blocked_countries` (`array`, optional): Two-letter country codes to block. Example: ["KP"].
- `cache_control_browser_max_age_override` (`integer`, optional): Browser cache time in seconds; -1 follows the origin. Example: -1.
- `cache_control_max_age_override` (`integer`, optional): Edge cache time in seconds; -1 follows the origin's Cache-Control. Example: -1.
- `enable_auto_ssl` (`boolean`, optional): If set to true, any hostnames added to this Pull Zone will automatically enable SSL. Example: true.
- `enable_geo_zone_af` (`boolean`, optional): Determines if the delivery from the Africa region should be enabled for this pull zone. Example: true.
- `enable_geo_zone_asia` (`boolean`, optional): Determines if the delivery from the Asia / Oceania regions should be enabled for this pull zone. Example: true.
- `enable_geo_zone_eu` (`boolean`, optional): Determines if the delivery from the Europe region should be enabled for this pull zone. Example: true.
- `enable_geo_zone_sa` (`boolean`, optional): Determines if the delivery from the South America region should be enabled for this pull zone. Example: true.
- `enable_geo_zone_us` (`boolean`, optional): Determines if the delivery from the North America region should be enabled for this pull zone. Example: true.
- `enable_logging` (`boolean`, optional): Determines if the logging should be enabled for this zone. Example: true.
- `enable_origin_shield` (`boolean`, optional): Determines if the origin shield should be enabled. Example: false.
- `enable_smart_cache` (`boolean`, optional): Enable Smart Cache. Example: true.
- `enable_web_sockets` (`boolean`, optional): Determines if WebSocket connections are allowed for this Pull Zone. Example: false.
- `ignore_query_strings` (`boolean`, optional): Determines if the Pull Zone should ignore query strings when serving cached objects (Vary by Query String). Example: true.
- `monthly_bandwidth_limit` (`integer`, optional): Monthly bandwidth limit in bytes; 0 for no limit. Example: 0.
- `optimizer_enabled` (`boolean`, optional): Determines if the optimizer should be enabled for this zone. Example: false.
- `origin_host_header` (`string`, optional): Sets the host header that will be sent to the origin. Example: origin.example.com.
- `origin_shield_zone_code` (`string`, optional): Origin shield location code, such as FR or IL. Example: FR.
- `origin_url` (`string`, optional): Origin URL the CDN pulls files from, such as https://origin.example.com. Example: https://origin.example.com.
- `storage_zone_id` (`integer`, optional): ID of a storage zone to use as the origin instead of an origin URL. Example: 234567.
- `type` (`integer`, optional): Tier: 0 Premium (standard network), 1 Volume (cheaper, fewer locations). Example: 0. One of: `0`, `1`.

Example input: `{"name":"<name>"}`

### `bunnynet_pull_zone_force_ssl_set`

Set Force SSL · Write

Turn HTTPS redirection on or off for a hostname of a pull zone.
Returns an empty response on success.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `force_ssl` (`boolean`, required): true to redirect HTTP to HTTPS. Example: true.
- `hostname` (`string`, required): Hostname, such as cdn.example.com. Example: cdn.example.com.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"force_ssl":true,"hostname":"<hostname>","pull_zone_id":1234567}`

### `bunnynet_pull_zone_hostname_add`

Add Custom Hostname · Write

Add a custom hostname to a pull zone.
Returns an empty response on success.
Point a CNAME at the zone's b-cdn.net hostname, then load a free certificate with bunnynet_free_certificate_load.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `hostname` (`string`, required): Hostname, such as cdn.example.com. Example: cdn.example.com.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"hostname":"<hostname>","pull_zone_id":1234567}`

### `bunnynet_pull_zone_update`

Update Pull Zone · Write

Update a pull zone's origin, regions, caching, security or optimizer settings.
Returns the updated pull zone.
Only the fields you pass change.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.
- `add_canonical_header` (`boolean`, optional): Determines if the canonical header should be added by this zone. Example: false.
- `blocked_countries` (`array`, optional): Two-letter country codes to block. Example: ["KP"].
- `cache_control_browser_max_age_override` (`integer`, optional): Browser cache time in seconds; -1 follows the origin. Example: -1.
- `cache_control_max_age_override` (`integer`, optional): Edge cache time in seconds; -1 follows the origin's Cache-Control. Example: -1.
- `enable_auto_ssl` (`boolean`, optional): If set to true, any hostnames added to this Pull Zone will automatically enable SSL. Example: true.
- `enable_geo_zone_af` (`boolean`, optional): Determines if the delivery from the Africa region should be enabled for this pull zone. Example: true.
- `enable_geo_zone_asia` (`boolean`, optional): Determines if the delivery from the Asia / Oceania regions should be enabled for this pull zone. Example: true.
- `enable_geo_zone_eu` (`boolean`, optional): Determines if the delivery from the Europe region should be enabled for this pull zone. Example: true.
- `enable_geo_zone_sa` (`boolean`, optional): Determines if the delivery from the South America region should be enabled for this pull zone. Example: true.
- `enable_geo_zone_us` (`boolean`, optional): Determines if the delivery from the North America region should be enabled for this pull zone. Example: true.
- `enable_logging` (`boolean`, optional): Determines if the logging should be enabled for this zone. Example: true.
- `enable_origin_shield` (`boolean`, optional): Determines if the origin shield should be enabled. Example: false.
- `enable_smart_cache` (`boolean`, optional): Enable Smart Cache. Example: true.
- `enable_web_sockets` (`boolean`, optional): Determines if WebSocket connections are allowed for this Pull Zone. Example: false.
- `ignore_query_strings` (`boolean`, optional): Determines if the Pull Zone should ignore query strings when serving cached objects (Vary by Query String). Example: true.
- `monthly_bandwidth_limit` (`integer`, optional): Monthly bandwidth limit in bytes; 0 for no limit. Example: 0.
- `optimizer_enabled` (`boolean`, optional): Determines if the optimizer should be enabled for this zone. Example: false.
- `origin_host_header` (`string`, optional): Sets the host header that will be sent to the origin. Example: origin.example.com.
- `origin_shield_zone_code` (`string`, optional): Origin shield location code, such as FR or IL. Example: FR.
- `origin_url` (`string`, optional): Origin URL the CDN pulls files from, such as https://origin.example.com. Example: https://origin.example.com.
- `storage_zone_id` (`integer`, optional): ID of a storage zone to use as the origin instead of an origin URL. Example: 234567.
- `type` (`integer`, optional): Tier: 0 Premium (standard network), 1 Volume (cheaper, fewer locations). Example: 0. One of: `0`, `1`.

Example input: `{"pull_zone_id":1234567}`

### `bunnynet_storage_zone_create`

Create Storage Zone · Write

Create a storage zone for files.
Returns the new zone with its ID.
Use bunnynet_storage_zone_regions_list for region codes.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Name of the storage zone. Example: my-files.
- `region` (`string`, required): Main region code, such as DE, NY, LA, SG or SYD. Example: DE.
- `replication_regions` (`array`, optional): Extra region codes to replicate files to. Example: ["NY"].
- `storage_zone_type` (`integer`, optional): Storage zone type. Example: 0. One of: `0`, `1`.
- `zone_tier` (`integer`, optional): 0 Standard (HDD), 1 Edge (SSD). Example: 0. One of: `0`, `1`.

Example input: `{"name":"<name>","region":"<region>"}`

### `bunnynet_storage_zone_update`

Update Storage Zone · Write

Update a storage zone's replication regions, origin URL or 404 handling.
Returns an empty response on success.
Only the fields you pass change.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `storage_zone_id` (`integer`, required): ID of the storage zone. Get it from bunnynet_storage_zones_list. Example: 234567.
- `custom404_file_path` (`string`, optional): Path of a custom 404 page. Example: /404.html.
- `origin_url` (`string`, optional): Fallback origin URL for missing files. Example: https://origin.example.com.
- `replication_zones` (`array`, optional): Region codes to replicate to. Example: ["NY"].
- `rewrite404_to200` (`boolean`, optional): true to answer 404s with status 200. Example: false.

Example input: `{"storage_zone_id":234567}`

### `bunnynet_url_purge`

Purge URL · Write

Purge one URL, or URLs matching a wildcard, from the CDN cache.
Returns an empty response on success.
Use bunnynet_pull_zone_cache_purge to purge a whole zone.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `url` (`string`, required): URL to purge; a trailing * purges everything under the path. Example: https://my-site-cdn.b-cdn.net/images/logo.png.
- `async` (`boolean`, optional): true to return before the purge finishes. Example: false.
- `exact_path` (`boolean`, optional): true to purge only the exact path, ignoring query strings. Example: false.

Example input: `{"url":"<url>"}`

### `bunnynet_video_library_create`

Create Video Library · Write

Create a Bunny Stream video library.
Returns the new library with its ID.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): The name of the Video Library. Example: Product videos.
- `allow_direct_play` (`boolean`, optional): (Optional) Determines if direct play URLs should be enabled for the library. Example: true.
- `enable_mp4_fallback` (`boolean`, optional): (Optional) Determines if MP4 fallback should be enabled for this library. Example: false.
- `enable_transcribing` (`boolean`, optional): true to create captions automatically. Example: false.
- `encoding_tier` (`integer`, optional): 0 free tier encoding, 1 premium encoding. Example: 0. One of: `0`, `1`.
- `keep_original_files` (`boolean`, optional): (Optional) Determines if the original file should be kept after the video is processed. Example: true.
- `replication_regions` (`array`, optional): Storage region codes to replicate videos to. Example: ["NY"].
- `transcribing_caption_languages` (`array`, optional): Language codes for automatic captions. Example: ["en"].

Example input: `{"name":"<name>"}`

### `bunnynet_dns_record_delete`

Delete DNS Record · Destructive

Delete a record from a DNS zone.
Returns an empty response on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `dns_record_id` (`integer`, required): ID of the DNS record. Get it from bunnynet_dns_records_list. Example: 9876543.
- `dns_zone_id` (`integer`, required): ID of the DNS zone. Get it from bunnynet_dns_zones_list. Example: 123456.

Example input: `{"dns_record_id":9876543,"dns_zone_id":123456}`

### `bunnynet_dns_zone_delete`

Delete DNS Zone · Destructive

Delete a DNS zone and all its records.
Returns an empty response on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `dns_zone_id` (`integer`, required): ID of the dns zone. Get it from bunnynet_dns_zones_list. Example: 123456.

Example input: `{"dns_zone_id":123456}`

### `bunnynet_dns_zone_dnssec_disable`

Disable DNSSEC · Destructive

Disable DNSSEC on a DNS zone.
Returns the updated DNSSEC state. Remove the DS record at the registrar first.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `dns_zone_id` (`integer`, required): ID of the dns zone. Get it from bunnynet_dns_zones_list. Example: 123456.

Example input: `{"dns_zone_id":123456}`

### `bunnynet_edge_rule_delete`

Delete Edge Rule · Destructive

Delete an edge rule from a pull zone.
Returns an empty response on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `edge_rule_id` (`string`, required): GUID of the edge rule. Get it from bunnynet_pull_zone_get (EdgeRules). Example: 3f1c2a9e-6b4d-4e8a-9c21-7d5e0b1a2f34.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"edge_rule_id":"<edge_rule_id>","pull_zone_id":1234567}`

### `bunnynet_pull_zone_allowed_referrer_remove`

Remove Allowed Referrer · Destructive

Remove a referrer hostname from a pull zone's allow list.
Returns an empty response on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `hostname` (`string`, required): Referrer hostname, such as example.com; wildcards like *.example.com are allowed. Example: example.com.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"hostname":"<hostname>","pull_zone_id":1234567}`

### `bunnynet_pull_zone_blocked_ip_remove`

Remove Blocked IP · Destructive

Remove an IP address from a pull zone's block list.
Returns an empty response on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `blocked_ip` (`string`, required): IP address to block or unblock, such as 203.0.113.7. Example: 203.0.113.7.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"blocked_ip":"<blocked_ip>","pull_zone_id":1234567}`

### `bunnynet_pull_zone_blocked_referrer_remove`

Remove Blocked Referrer · Destructive

Remove a referrer hostname from a pull zone's block list.
Returns an empty response on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `hostname` (`string`, required): Referrer hostname, such as example.com; wildcards like *.example.com are allowed. Example: example.com.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"hostname":"<hostname>","pull_zone_id":1234567}`

### `bunnynet_pull_zone_delete`

Delete Pull Zone · Destructive

Delete a pull zone. Its hostnames stop serving content.
Returns an empty response on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"pull_zone_id":1234567}`

### `bunnynet_pull_zone_hostname_remove`

Remove Custom Hostname · Destructive

Remove a custom hostname from a pull zone.
Returns an empty response on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `hostname` (`string`, required): Hostname, such as cdn.example.com. Example: cdn.example.com.
- `pull_zone_id` (`integer`, required): ID of the pull zone. Get it from bunnynet_pull_zones_list. Example: 1234567.

Example input: `{"hostname":"<hostname>","pull_zone_id":1234567}`

### `bunnynet_storage_zone_delete`

Delete Storage Zone · Destructive

Delete a storage zone and all its files.
Returns an empty response on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `storage_zone_id` (`integer`, required): ID of the storage zone. Get it from bunnynet_storage_zones_list. Example: 234567.
- `delete_linked_pull_zones` (`boolean`, optional): true to also delete pull zones that use this storage zone. Example: false.

Example input: `{"storage_zone_id":234567}`

### `bunnynet_video_library_delete`

Delete Video Library · Destructive

Delete a Bunny Stream video library and all its videos.
Returns an empty response on success.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `video_library_id` (`integer`, required): ID of the video library. Get it from bunnynet_video_libraries_list. Example: 345678.

Example input: `{"video_library_id":345678}`

## Related

Other Developer Tools connectors ([all 200](/agentkit/connectors/?category=developer-tools)):

- [GitHub](/agentkit/connectors/github/): Scalekit connector, OAuth, 217 tools
- [Datadog](/agentkit/connectors/datadog/): Scalekit connector, API key, 105 tools
- [Linear](/agentkit/connectors/linear/): Scalekit connector, OAuth, 64 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
