Skip to main content
DELETE
/
compute
/
script
/
{id}
/
secrets
/
{secretId}
Delete Secret
curl --request DELETE \
  --url https://api.bunny.net/compute/script/{id}/secrets/{secretId} \
  --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 secret

secretId
integer<int64>
required

The ID of the secret that should be deleted

Response

The secret was successfully deleted.