Create a TLS configuration
POST {{fastly_url}}/tls/configurations
Authorization: API token with at least TLS management permissions.
Request Body
{"data"=>{"type"=>"tls_configuration", "attributes"=>{"http_protocols"=>["http/1.1", "http/2"], "name"=>"New TLS Configuration", "tls_protocols"=>["1.2", "1.3"], "tls_1_2_cipher_suite_profile"=>["ECDHE-RSA-AES256-GCM-SHA384", "..."], "vipspace"=>"customer_assigned_vipspace"}, "relationships"=>{"dns_records"=>{"data"=>[{"id"=>"IPV4_ADDRESS", "type"=>"dns_record"}]}, "default_certificate"=>{"data"=>{"id"=>"DEFAULT_CERTIFICATE_ID", "type"=>"tls_certificate"}}, "default_ecdsa_certificate"=>{"data"=>{"id"=>"DEFAULT_ECDSA_CERTIFICATE_ID", "type"=>"tls_certificate"}}}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Host | string | ||
Content-Type | string | ||
Accept | string |