Update a TLS subscription

PATCH {{fastly_url}}/tls/subscriptions/{{tls_subscription_id}}?force

Change the TLS domains or common name associated with this subscription, update the TLS configuration for this set of domains, or retry a subscription with state failed by setting the state to retry.

Authorization: API token with at least TLS management permissions.

Request Params

KeyDatatypeRequiredDescription
forcenullA flag that allows you to edit and delete a subscription with active domains. Valid to use on PATCH and DELETE actions. As a warning, removing an active domain from a subscription or forcing the deletion of a subscription may result in breaking TLS termination to that domain.

Request Body

{"data"=>{"type"=>"tls_subscription", "attributes"=>{"state"=>"retry"}, "relationships"=>{"common_name"=>{"data"=>{"type"=>"tls_domain", "id"=>"DOMAIN_NAME"}}, "tls_domains"=>{"data"=>[{"type"=>"tls_domain", "id"=>"DOMAIN_NAME"}]}, "tls_configuration"=>{"data"=>{"type"=>"tls_configuration", "id"=>"t7CguUGZzb2W9Euo5FoKa"}}}}}

HEADERS

KeyDatatypeRequiredDescription
Hoststring
Content-Typestring
Acceptstring