curl --request POST \
--url https://api.bunny.net/pullzone/{id}/updatePrivateKeyType \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>",
"KeyType": 0
}
'{
"ErrorKey": "<string>",
"Field": "<string>",
"Message": "<string>"
}curl --request POST \
--url https://api.bunny.net/pullzone/{id}/updatePrivateKeyType \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>",
"KeyType": 0
}
'{
"ErrorKey": "<string>",
"Field": "<string>",
"Message": "<string>"
}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?