Hostnames
hostnames
Hostnames
Settings
hostnames.settings
Methods
Delete TLS Setting For Hostname -> Envelope<{ created_at, hostname, status, 2 more... }>
delete/zones/{zone_id}/hostnames/settings/{setting_id}/{hostname}
Delete the tls setting value for the hostname.
List TLS Setting For Hostnames -> Envelope<Array<{ created_at, hostname, status, 2 more... }>>
get/zones/{zone_id}/hostnames/settings/{setting_id}
List the requested TLS setting for the hostnames under this zone.
put/zones/{zone_id}/hostnames/settings/{setting_id}/{hostname}
Update the tls setting value for the hostname.
Security
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example: X-Auth-Email: user@example.com
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Accepted Permissions (at least one required)
SSL and Certificates Write
Parameters
zone_id: string
Identifier
setting_id:
The TLS Setting name.
"ciphers"
"min_tls_version"
"http2"
hostname: string
The hostname for which the tls settings are set.
Response fields
success: true
Whether the API call was successful
Request example
200Example
Domain types
Setting = { created_at, hostname, status, 2 more... }
SettingValue = number | string | Array<string>