> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# bunnycdn-storage

> BunnyCDN Storage - manage storage zones

**Server path:** `/bunnycdn-storage` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                                                                                            | Description                         |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [`bunnycdn_storage_get_storagezone_statistics_endpoint_storage_zone_statistics`](#bunnycdn_storage_get_storagezone_statistics_endpoint_storage_zone_statistics) | Get Storage Zone Statistics         |
| [`bunnycdn_storage_zone_public_add`](#bunnycdn_storage_zone_public_add)                                                                                         | Add Storage Zone                    |
| [`bunnycdn_storage_zone_public_check_availability`](#bunnycdn_storage_zone_public_check_availability)                                                           | Check the storage zone availability |
| [`bunnycdn_storage_zone_public_delete`](#bunnycdn_storage_zone_public_delete)                                                                                   | Delete Storage Zone                 |
| [`bunnycdn_storage_zone_public_index`](#bunnycdn_storage_zone_public_index)                                                                                     | Get Storage Zone                    |
| [`bunnycdn_storage_zone_public_index_all`](#bunnycdn_storage_zone_public_index_all)                                                                             | List Storage Zones                  |
| [`bunnycdn_storage_zone_public_reset_password`](#bunnycdn_storage_zone_public_reset_password)                                                                   | Reset Password                      |
| [`bunnycdn_storage_zone_public_reset_read_only_password`](#bunnycdn_storage_zone_public_reset_read_only_password)                                               | Reset Read-Only Password            |
| [`bunnycdn_storage_zone_public_update`](#bunnycdn_storage_zone_public_update)                                                                                   | Update Storage Zone                 |

***

## bunnycdn\_storage\_get\_storagezone\_statistics\_endpoint\_storage\_zone\_statistics

Get Storage Zone Statistics

**Parameters:**

| Parameter  | Type    | Required | Default | Description                                                                                            |
| ---------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------------------ |
| `id`       | integer | Yes      | —       | The ID of the storage zone                                                                             |
| `dateFrom` | string  | No       | —       | (Optional) The start date of the statistics. If no value is passed, the last 30 days will be returned. |
| `dateTo`   | string  | No       | —       | (Optional) The end date of the statistics. If no value is passed, the last 30 days will be returned.   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The ID of the storage zone"
      },
      "dateFrom": {
        "type": "string",
        "description": "(Optional) The start date of the statistics. If no value is passed, the last 30 days will be returned."
      },
      "dateTo": {
        "type": "string",
        "description": "(Optional) The end date of the statistics. If no value is passed, the last 30 days will be returned."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## bunnycdn\_storage\_zone\_public\_add

Add Storage Zone

**Parameters:**

| Parameter            | Type      | Required | Default | Description                                                                     |
| -------------------- | --------- | -------- | ------- | ------------------------------------------------------------------------------- |
| `Name`               | string    | Yes      | —       | The name of the storage zone                                                    |
| `Region`             | string    | Yes      | —       | The code of the main storage zone region (Possible values: DE, NY, LA, SG)      |
| `ReplicationRegions` | string\[] | No       | —       | The code of the main storage zone region (Possible values: DE, NY, LA, SG, SYD) |
| `StorageZoneType`    | integer   | No       | —       | The Storage Zone S3 support type                                                |
| `ZoneTier`           | integer   | No       | —       | Determines the storage zone tier that will be storing the data                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "Name": {
        "type": "string",
        "description": "The name of the storage zone"
      },
      "Region": {
        "type": "string",
        "description": "The code of the main storage zone region (Possible values: DE, NY, LA, SG)"
      },
      "ReplicationRegions": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "The code of the main storage zone region (Possible values: DE, NY, LA, SG, SYD)"
      },
      "StorageZoneType": {
        "type": "integer",
        "description": "The Storage Zone S3 support type",
        "enum": [
          0,
          1
        ]
      },
      "ZoneTier": {
        "type": "integer",
        "description": "Determines the storage zone tier that will be storing the data",
        "enum": [
          0,
          1
        ]
      }
    },
    "required": [
      "PCID",
      "Name",
      "Region"
    ]
  }
  ```
</Expandable>

***

## bunnycdn\_storage\_zone\_public\_check\_availability

Check the storage zone availability

**Parameters:**

| Parameter | Type   | Required | Default | Description |                                                      |
| --------- | ------ | -------- | ------- | ----------- | ---------------------------------------------------- |
| `Name`    | string | null     | No      | —           | Determines the name of the zone that we are checking |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "Name": {
        "type": [
          "string",
          "null"
        ],
        "description": "Determines the name of the zone that we are checking"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## bunnycdn\_storage\_zone\_public\_delete

Delete Storage Zone

**Parameters:**

| Parameter               | Type    | Required | Default | Description                                                           |
| ----------------------- | ------- | -------- | ------- | --------------------------------------------------------------------- |
| `id`                    | integer | Yes      | —       | The Storage Zone ID that should be deleted                            |
| `deleteLinkedPullZones` | boolean | No       | —       | Deletes all pull zones linked to this storage zone (default behavior) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The Storage Zone ID that should be deleted"
      },
      "deleteLinkedPullZones": {
        "type": "boolean",
        "description": "Deletes all pull zones linked to this storage zone (default behavior)"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## bunnycdn\_storage\_zone\_public\_index

Get Storage Zone

**Parameters:**

| Parameter | Type    | Required | Default | Description                                        |
| --------- | ------- | -------- | ------- | -------------------------------------------------- |
| `id`      | integer | Yes      | —       | The ID of the Storage Zone that should be returned |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The ID of the Storage Zone that should be returned"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## bunnycdn\_storage\_zone\_public\_index\_all

List Storage Zones

**Parameters:**

| Parameter        | Type    | Required | Default | Description                                                                                                                                                                         |
| ---------------- | ------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `page`           | integer | No       | —       | The page number to return. When set to 0 (default), all items are returned as a plain array. When set to a value greater than 0, items are returned in a paginated response object. |
| `perPage`        | integer | No       | —       | Number of results per page                                                                                                                                                          |
| `includeDeleted` | boolean | No       | —       | Include Deleted                                                                                                                                                                     |
| `search`         | string  | No       | —       | The search term that will be used to filter the results                                                                                                                             |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "page": {
        "type": "integer",
        "description": "The page number to return. When set to 0 (default), all items are returned as a plain array. When set to a value greater than 0, items are returned in a paginated response object."
      },
      "perPage": {
        "type": "integer",
        "description": "Number of results per page"
      },
      "includeDeleted": {
        "type": "boolean",
        "description": "Include Deleted"
      },
      "search": {
        "type": "string",
        "description": "The search term that will be used to filter the results"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## bunnycdn\_storage\_zone\_public\_reset\_password

Reset Password

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                    |
| --------- | ------- | -------- | ------- | -------------------------------------------------------------- |
| `id`      | integer | Yes      | —       | The ID of the storage zone that should have the password reset |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The ID of the storage zone that should have the password reset"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## bunnycdn\_storage\_zone\_public\_reset\_read\_only\_password

Reset Read-Only Password

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                              |
| --------- | ------- | -------- | ------- | ------------------------------------------------------------------------ |
| `id`      | integer | Yes      | —       | The ID of the storage zone that should have the read-only password reset |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The ID of the storage zone that should have the read-only password reset"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## bunnycdn\_storage\_zone\_public\_update

Update Storage Zone

**Parameters:**

| Parameter           | Type      | Required | Default | Description                                               |                                                                    |
| ------------------- | --------- | -------- | ------- | --------------------------------------------------------- | ------------------------------------------------------------------ |
| `id`                | integer   | Yes      | —       | The ID of the storage zone that should be updated         |                                                                    |
| `Custom404FilePath` | string    | null     | No      | —                                                         | The path to the custom file that will be returned in a case of 404 |
| `OriginUrl`         | string    | null     | No      | —                                                         | The origin URL of the storage zone                                 |
| `ReplicationZones`  | string\[] | No       | —       | The list of replication zones enabld for the storage zone |                                                                    |
| `Rewrite404To200`   | boolean   | null     | No      | —                                                         | Rewrite 404 status code to 200 for URLs without extension          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The ID of the storage zone that should be updated"
      },
      "Custom404FilePath": {
        "type": [
          "string",
          "null"
        ],
        "description": "The path to the custom file that will be returned in a case of 404"
      },
      "OriginUrl": {
        "type": [
          "string",
          "null"
        ],
        "description": "The origin URL of the storage zone"
      },
      "ReplicationZones": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "The list of replication zones enabld for the storage zone"
      },
      "Rewrite404To200": {
        "type": [
          "boolean",
          "null"
        ],
        "description": "Rewrite 404 status code to 200 for URLs without extension"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>
