cURL
curl --request POST \ --url https://api.bunny.net/compute/script/{id}/secrets/{secretId} \ --header 'AccessKey: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "Secret": "<string>" } '
{ "Id": 123, "Name": "<string>", "LastModified": "2023-11-07T05:31:56Z" }
API Access Key authorization header
The ID of the script that will have the secret updated
The ID of the secret that will be updated
The secret that will be updated
4096
The script with the requested ID
Was this page helpful?