Update a certificate
PATCH {{fastly_url}}/tls/bulk/certificates/{{certificate_id}}
Replace a certificate with a newly reissued certificate. By using this endpoint, the original certificate will cease to be used for future TLS handshakes. Thus, only SAN entries that appear in the replacement certificate will become TLS enabled. Any SAN entries that are missing in the replacement certificate will become disabled.
Authorization: API token with at least TLS management permissions.
Request Body
{"data"=>{"id"=>"cRTguUGZzb2W9Euo4moOr", "type"=>"tls_bulk_certificate", "attributes"=>{"allow_untrusted_root"=>false, "cert_blob"=>"-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n", "intermediates_blob"=>"-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Host | string | ||
Content-Type | string | ||
Accept | string |