File tree Expand file tree Collapse file tree 1 file changed +34
-15
lines changed
src/content/docs/ssl/origin-configuration/authenticated-origin-pull Expand file tree Collapse file tree 1 file changed +34
-15
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,17 @@ curl --silent --request PUT \
8989```
9090
9191<APIRequest
92- path = " "
93- method = " "
94- json = { {}}
92+ path = " /zones/{zone_id}/origin_tls_client_auth/hostnames"
93+ method = " PUT"
94+ json = { {
95+ " config" : [
96+ {
97+ " enabled" : true ,
98+ " cert_id" : " <CERT_ID>" ,
99+ " hostname" : " <YOUR_HOSTNAME>"
100+ }
101+ ]
102+ }}
95103/>
96104
97105
@@ -109,9 +117,14 @@ curl --request PATCH \
109117```
110118
111119<APIRequest
112- path = " "
113- method = " "
114- json = { {}}
120+ path = " /zones/{zone_id}/settings/{setting_id}"
121+ method = " PATCH"
122+ json = { {
123+ " value" : " on"
124+ }}
125+ parameters = { {
126+ setting_id: " tls_client_auth"
127+ }}
115128/>
116129
117130
@@ -144,9 +157,17 @@ curl -s --request PUT \
144157```
145158
146159<APIRequest
147- path = " "
148- method = " "
149- json = { {}}
160+ path = " /zones/{zone_id}/origin_tls_client_auth/hostnames"
161+ method = " PUT"
162+ json = { {
163+ " config" : [
164+ {
165+ " enabled" : false ,
166+ " cert_id" : " <CERT_ID>" ,
167+ " hostname" : " <YOUR_HOSTNAME>"
168+ }
169+ ]
170+ }}
150171/>
151172
152173
@@ -159,9 +180,8 @@ curl "https://api.cloudflare.com/client/v4/zones/$ZONEID/origin_tls_client_auth/
159180```
160181
161182<APIRequest
162- path = " "
163- method = " "
164- json = { {}}
183+ path = " /zones/{zone_id}/origin_tls_client_auth/hostnames/certificates"
184+ method = " GET"
165185/>
166186
167187
@@ -175,8 +195,7 @@ curl --request DELETE \
175195```
176196
177197<APIRequest
178- path = " "
179- method = " "
180- json = { {}}
198+ path = " /zones/{zone_id}/origin_tls_client_auth/hostnames/certificates/{certificate_id}"
199+ method = " DELETE"
181200/>
182201
You can’t perform that action at this time.
0 commit comments