Update a TLS certificate

PATCH {{fastly_url}}/tls/certificates/{{tls_certificate_id}}

Replace a TLS certificate with a newly reissued TLS certificate, or update a TLS certificate's name. If replacing a TLS certificate, the new TLS certificate must contain all SAN entries as the current TLS certificate. It must either have an exact matching list or contain a superset.

Authorization: API token with at least TLS management permissions.

Request Body

{"data"=>{"type"=>"tls_certificate", "attributes"=>{"cert_blob"=>"-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n", "name"=>"My certificate"}}}

HEADERS

KeyDatatypeRequiredDescription
Hoststring
Content-Typestring
Acceptstring