Enable TLS for a domain using a custom certificate

POST {{fastly_url}}/tls/activations

Enable TLS for a particular TLS domain and certificate combination. These relationships must be specified to create the TLS activation.

Authorization: API token with at least TLS management permissions.

Request Body

{"data"=>{"type"=>"tls_activation", "relationships"=>{"tls_certificate"=>{"data"=>{"id"=>"cRTguUGZzb2W9Euo4moOr", "type"=>"tls_certificate"}}, "tls_configuration"=>{"data"=>{"id"=>"t7CguUGZzb2W9Euo5FoKa", "type"=>"tls_configuration"}}, "tls_domain"=>{"data"=>{"id"=>"example.com", "type"=>"tls_domain"}}}}}

HEADERS

KeyDatatypeRequiredDescription
Hoststring
Content-Typestring
Acceptstring