Skip to main content
DELETE
/
compute
/
script
/
{id}
Delete Edge Script
curl --request DELETE \
  --url https://api.bunny.net/compute/script/{id} \
  --header 'AccessKey: <api-key>'
{
  "ErrorKey": "<string>",
  "Field": "<string>",
  "Message": "<string>"
}

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Path Parameters

id
integer<int64>
required

The ID of the script that will be deleted.

Query Parameters

deleteLinkedPullZones
boolean
default:false

Deletes all pull zones linked to this edge script if true, otherwise changes origin to landing page

Response

The script was successfully deleted.