Skip to main content
DELETE
/
compute
/
script
/
{id}
/
variables
/
{variableId}
Delete Variable
curl --request DELETE \
  --url https://api.bunny.net/compute/script/{id}/variables/{variableId} \
  --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 contains the Environment Variable

variableId
integer<int64>
required

The ID of the Environment Variable that should be deleted

Response

The environment variable was successfully deleted.