Cloudflare DevelopersCD
Cloudflare Developersโ€ข2y agoโ€ข
5 replies
merp

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?
Interact with Cloudflare's products and services via the Cloudflare API
Was this page helpful?