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"
}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
4096Was this page helpful?