Skip to content

Commit c52ed02

Browse files
maxvppedrosousa
andauthored
Apply suggestions from code review
Co-authored-by: Pedro Sousa <[email protected]>
1 parent e08319a commit c52ed02

File tree

1 file changed

+6
-6
lines changed
  • src/content/docs/cloudflare-one/connections/connect-devices/user-side-certificates

1 file changed

+6
-6
lines changed

src/content/docs/cloudflare-one/connections/connect-devices/user-side-certificates/index.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ To generate a new Cloudflare root certificate for your Zero Trust organization:
4343
Send a `POST` request to the [Create Zero Trust certificate](/api/resources/zero_trust/subresources/gateway/subresources/certificates/methods/create/) endpoint.
4444

4545
```sh
46-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/certificates \
47-
--header "Content-Type: application/json" \
48-
--header "Authorization: Bearer <API_TOKEN>" \
46+
curl --request POST \
47+
https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/certificates \
48+
--header "Authorization: Bearer <API_TOKEN>"
4949
```
5050

5151
The API will respond with the ID and contents of the new certificate.
@@ -80,9 +80,9 @@ To activate your root certificate:
8080
Send a `POST` request to the [Activate a Zero Trust certificate](/api/resources/zero_trust/subresources/gateway/subresources/certificates/methods/activate/) endpoint.
8181

8282
```sh
83-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/certificates/{certificate_id}/activate \
84-
--header "Content-Type: application/json" \
85-
--header "Authorization: Bearer <API_TOKEN>" \
83+
curl --request POST \
84+
https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/certificates/{certificate_id}/activate \
85+
--header "Authorization: Bearer <API_TOKEN>"
8686
```
8787

8888
</TabItem> </Tabs>

0 commit comments

Comments
 (0)