cURL
curl --request DELETE \ --url https://api.bunny.net/compute/script/{id}/secrets/{secretId} \ --header 'AccessKey: <api-key>'
{ "ErrorKey": "<string>", "Field": "<string>", "Message": "<string>" }
API Access Key authorization header
The ID of the script that contains the secret
The ID of the secret that should be deleted
The secret was successfully deleted.
Was this page helpful?