Deleting a hostname association for authenticated origin pulls
Hi, I am trying to delete a hostname association for authenticated origin pulls:
https://developers.cloudflare.com/api/operations/per-hostname-authenticated-origin-pull-enable-or-disable-a-hostname-for-client-authentication
For now I set all of them to
null
with PUT https://api.cloudflare.com/client/v4/zones/**snip**/origin_tls_client_auth/hostnames
, which according to the docs is supposed to invalidate the entry, but then when I do GET https://api.cloudflare.com/client/v4/zones/**snip**/origin_tls_client_auth/hostnames
it is still listed there. Can it be deleted entirely?Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
1 Reply
If it's possible it's certainly not documented well. There is /hostnames/<hostname> like
/origin_tls_client_auth/hostnames/www.example.com
, but DELETE isn't an allowed method to it.