curl --request GET \
--url https://api.bunny.net/compute/script/{id}/variables/{variableId} \
--header 'AccessKey: <api-key>'{
"Id": 123,
"Required": true,
"Name": "<string>",
"DefaultValue": "<string>"
}The script with the requested ID
curl --request GET \
--url https://api.bunny.net/compute/script/{id}/variables/{variableId} \
--header 'AccessKey: <api-key>'{
"Id": 123,
"Required": true,
"Name": "<string>",
"DefaultValue": "<string>"
}API Access Key authorization header
The ID of the script that contains the variable
The ID of the Environment Variable that should be returned
Was this page helpful?