curl --request POST \
--url https://api.bunny.net/pullzone/{id}/addCertificate \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>",
"Certificate": "<string>",
"CertificateKey": "<string>"
}
'{
"ErrorKey": "<string>",
"Field": "<string>",
"Message": "<string>"
}curl --request POST \
--url https://api.bunny.net/pullzone/{id}/addCertificate \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>",
"Certificate": "<string>",
"CertificateKey": "<string>"
}
'{
"ErrorKey": "<string>",
"Field": "<string>",
"Message": "<string>"
}API Access Key authorization header
The ID of the requested Pull Zone
Request model
The hostname to which the hostname will be added
1The Base64 encoded binary data of the certificate file
1The Base64 encoded binary data of the certificate key file
1The certificate was successfuly added
Was this page helpful?