PUT /zones/{zone_id}/origin_tls_client_auth/hostnames
Associate a hostname to a certificate and enable, disable or invalidate the association. If disabled, client certificate will not be sent to the hostname even if activated at the zone level. 100 maximum associations on a single certificate are allowed. Note: Use a null value for parameter enabled to invalidate the association.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
zone_id |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
config[] |
Array | Yes | |
config[].cert_id |
String | No |
Certificate identifier tag. |
config[].enabled |
Boolean | No |
Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association. |
config[].hostname |
String | No |
The hostname on the origin for which the client certificate uploaded will be used. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.