curl --request POST \
--url https://api.bunny.net/pullzone/{id}/updatePrivateKeyType \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>",
"KeyType": "Ecdsa"
}
'The key type was changed successfully
curl --request POST \
--url https://api.bunny.net/pullzone/{id}/updatePrivateKeyType \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>",
"KeyType": "Ecdsa"
}
'API Access Key authorization header
The hostname that the private key type will be updated on
The key type was changed successfully
Was this page helpful?