Skip to main content
Server path: /bunnycdn-storage | Type: Application | PCID required: Yes

Tools


bunnycdn_storage_get_storagezone_statistics_endpoint_storage_zone_statistics

Get Storage Zone Statistics Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the storage zone
dateFromstringNo(Optional) The start date of the statistics. If no value is passed, the last 30 days will be returned.
dateTostringNo(Optional) The end date of the statistics. If no value is passed, the last 30 days will be returned.

bunnycdn_storage_zone_public_add

Add Storage Zone Parameters:
ParameterTypeRequiredDefaultDescription
NamestringYesThe name of the storage zone
RegionstringYesThe code of the main storage zone region (Possible values: DE, NY, LA, SG)
ReplicationRegionsstring[]NoThe code of the main storage zone region (Possible values: DE, NY, LA, SG, SYD)
StorageZoneTypeintegerNoThe Storage Zone S3 support type
ZoneTierintegerNoDetermines the storage zone tier that will be storing the data

bunnycdn_storage_zone_public_check_availability

Check the storage zone availability Parameters:
ParameterTypeRequiredDefaultDescription
NamestringNoDetermines the name of the zone that we are checking

bunnycdn_storage_zone_public_delete

Delete Storage Zone Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe Storage Zone ID that should be deleted
deleteLinkedPullZonesbooleanNoDeletes all pull zones linked to this storage zone (default behavior)

bunnycdn_storage_zone_public_index

Get Storage Zone Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the Storage Zone that should be returned

bunnycdn_storage_zone_public_index_all

List Storage Zones Parameters:
ParameterTypeRequiredDefaultDescription
pageintegerNoThe 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.
perPageintegerNoNumber of results per page
includeDeletedbooleanNoInclude Deleted
searchstringNoThe search term that will be used to filter the results

bunnycdn_storage_zone_public_reset_password

Reset Password Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the storage zone that should have the password reset

bunnycdn_storage_zone_public_reset_read_only_password

Reset Read-Only Password Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the storage zone that should have the read-only password reset

bunnycdn_storage_zone_public_update

Update Storage Zone Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the storage zone that should be updated
Custom404FilePathstringNoThe path to the custom file that will be returned in a case of 404
OriginUrlstringNoThe origin URL of the storage zone
ReplicationZonesstring[]NoThe list of replication zones enabld for the storage zone
Rewrite404To200booleanNoRewrite 404 status code to 200 for URLs without extension