Create a TLS subscription
POST {{fastly_url}}/tls/subscriptions?force
Create a new TLS subscription. This response includes a list of possible challenges to verify domain ownership.
Authorization: API token with at least TLS management permissions.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
force | null | A 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"=>{"certificate_authority"=>"certainly"}, "relationships"=>{"tls_domains"=>{"data"=>[{"type"=>"tls_domain", "id"=>"DOMAIN_NAME"}]}, "tls_configuration"=>{"data"=>{"type"=>"tls_configuration", "id"=>"t7CguUGZzb2W9Euo5FoKa"}}}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Host | string | ||
Content-Type | string | ||
Accept | string |