Skip to main content
POST
/
compute
/
script
/
{id}
/
deploymentKey
/
rotate
Rotate Deployment Key
curl --request POST \
  --url https://api.bunny.net/compute/script/{id}/deploymentKey/rotate \
  --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 edge script that should have deployment key rotated

Response

The deployment key has been successfully rotated