diff --git a/content/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation.md b/content/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation.md
index 6e7c5cd3d684..ab598846242e 100644
--- a/content/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation.md
+++ b/content/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation.md
@@ -49,7 +49,7 @@ In the following example, replace `INSTALLATION_ACCESS_TOKEN` with an installati
 curl --request GET \
 --url "{% data variables.product.api_url_pre %}/meta" \
 --header "Accept: application/vnd.github+json" \
---header "Authorization: Bearer INSTALLATION_ACCESS_TOKEN"{% ifversion api-date-versioning %}\
+--header "Authorization: Bearer INSTALLATION_ACCESS_TOKEN"{% ifversion api-date-versioning %} \
 --header "X-GitHub-Api-Version: {{ allVersions[currentVersion].latestApiVersion }}"{% endif %}
 ```
 
diff --git a/content/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app.md b/content/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app.md
index ec1480b60e32..5c1f349af28d 100644
--- a/content/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app.md
+++ b/content/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app.md
@@ -26,7 +26,7 @@ If a REST API endpoint requires you to authenticate as an app, the documentation
    curl --request GET \
    --url "{% data variables.product.api_url_pre %}/app/installations" \
    --header "Accept: application/vnd.github+json" \
-   --header "Authorization: Bearer YOUR_JWT"{% ifversion api-date-versioning %}\
+   --header "Authorization: Bearer YOUR_JWT"{% ifversion api-date-versioning %} \
    --header "X-GitHub-Api-Version: {{ allVersions[currentVersion].latestApiVersion }}"{% endif %}
    ```
 
diff --git a/content/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app.md b/content/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app.md
index fb46a6c66bf1..38c856d80722 100644
--- a/content/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app.md
+++ b/content/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app.md
@@ -30,7 +30,7 @@ To use a JWT, pass it in the `Authorization` header of an API request. For examp
 curl --request GET \
 --url "{% data variables.product.api_url_pre %}/app" \
 --header "Accept: application/vnd.github+json" \
---header "Authorization: Bearer YOUR_JWT"{% ifversion api-date-versioning %}\
+--header "Authorization: Bearer YOUR_JWT"{% ifversion api-date-versioning %} \
 --header "X-GitHub-Api-Version: {{ allVersions[currentVersion].latestApiVersion }}"{% endif %}
 ```
 
diff --git a/content/rest/guides/getting-started-with-the-rest-api.md b/content/rest/guides/getting-started-with-the-rest-api.md
index 24c1f50d65c5..eac7b96c29ce 100644
--- a/content/rest/guides/getting-started-with-the-rest-api.md
+++ b/content/rest/guides/getting-started-with-the-rest-api.md
@@ -326,7 +326,7 @@ To send a header in a `curl` command, use the `--header` or `-H` flag followed b
 curl --request GET \
 --url "https://api.github.com/octocat" \
 --header "Accept: application/vnd.github+json" \
---header "Authorization: Bearer <em>YOUR-TOKEN</em>"{% ifversion api-date-versioning %}\
+--header "Authorization: Bearer <em>YOUR-TOKEN</em>"{% ifversion api-date-versioning %} \
 --header "X-GitHub-Api-Version: {{ allVersions[currentVersion].latestApiVersion }}"{% endif %}
 ```
 
diff --git a/content/rest/overview/authenticating-to-the-rest-api.md b/content/rest/overview/authenticating-to-the-rest-api.md
index f8790482a071..98fbf0399b5f 100644
--- a/content/rest/overview/authenticating-to-the-rest-api.md
+++ b/content/rest/overview/authenticating-to-the-rest-api.md
@@ -23,7 +23,7 @@ You can authenticate your request by sending a token in the `Authorization` head
 ```shell
 curl --request GET \
 --url "{% data variables.product.api_url_code %}/octocat" \
---header "Authorization: Bearer YOUR-TOKEN"{% ifversion api-date-versioning %}\
+--header "Authorization: Bearer YOUR-TOKEN"{% ifversion api-date-versioning %} \
 --header "X-GitHub-Api-Version: {{ allVersions[currentVersion].latestApiVersion }}"{% endif %}
 ```
 
@@ -61,7 +61,7 @@ For example:
 ```shell
 curl --request POST \
 --url "{% data variables.product.api_url_code %}/authorizations"
---user CLIENT_ID:CLIENT_SECRET{% ifversion api-date-versioning %}\
+--user CLIENT_ID:CLIENT_SECRET{% ifversion api-date-versioning %} \
 --header "X-GitHub-Api-Version: {{ allVersions[currentVersion].latestApiVersion }}"{% endif %}
 ```
 
@@ -80,7 +80,7 @@ If you want to use the API in a {% data variables.product.prodname_actions %} wo
 ```shell
 curl --request GET \
 --url "{% data variables.product.api_url_code %}/user"
---user USERNAME:PASSWORD{% ifversion api-date-versioning %}\
+--user USERNAME:PASSWORD{% ifversion api-date-versioning %} \
 --header "X-GitHub-Api-Version: {{ allVersions[currentVersion].latestApiVersion }}"{% endif %}
 ```
 
diff --git a/content/rest/overview/resources-in-the-rest-api.md b/content/rest/overview/resources-in-the-rest-api.md
index 69ac2cc2f76b..32ce77ee18be 100644
--- a/content/rest/overview/resources-in-the-rest-api.md
+++ b/content/rest/overview/resources-in-the-rest-api.md
@@ -90,7 +90,7 @@ You can authenticate your request by sending a token in the `Authorization` head
 ```shell
 curl --request GET \
 --url "{% data variables.product.api_url_code %}/octocat" \
---header "Authorization: Bearer YOUR-TOKEN"{% ifversion api-date-versioning %}\
+--header "Authorization: Bearer YOUR-TOKEN"{% ifversion api-date-versioning %} \
 --header "X-GitHub-Api-Version: {{ allVersions[currentVersion].latestApiVersion }}"{% endif %}
 ```
 
diff --git a/data/reusables/apps/generate-installation-access-token.md b/data/reusables/apps/generate-installation-access-token.md
index fb47103d50ef..db27d0edbb9b 100644
--- a/data/reusables/apps/generate-installation-access-token.md
+++ b/data/reusables/apps/generate-installation-access-token.md
@@ -12,7 +12,7 @@
    curl --request POST \
    --url "{% data variables.product.api_url_pre %}/app/installations/INSTALLATION_ID/access_tokens" \
    --header "Accept: application/vnd.github+json" \
-   --header "Authorization: Bearer JWT"{% ifversion api-date-versioning %}\
+   --header "Authorization: Bearer JWT"{% ifversion api-date-versioning %} \
    --header "X-GitHub-Api-Version: {{ allVersions[currentVersion].latestApiVersion }}"{% endif %}
    ```
 
diff --git a/data/reusables/apps/user-access-token-example-request.md b/data/reusables/apps/user-access-token-example-request.md
index 667bc55884e8..4ddd5d1b45ae 100644
--- a/data/reusables/apps/user-access-token-example-request.md
+++ b/data/reusables/apps/user-access-token-example-request.md
@@ -4,6 +4,6 @@
    curl --request GET \
    --url "{% data variables.product.api_url_pre %}/user" \
    --header "Accept: application/vnd.github+json" \
-   --header "Authorization: Bearer USER_ACCESS_TOKEN"{% ifversion api-date-versioning %}\
+   --header "Authorization: Bearer USER_ACCESS_TOKEN"{% ifversion api-date-versioning %} \
    --header "X-GitHub-Api-Version: {{ allVersions[currentVersion].latestApiVersion }}"{% endif %}
    ```
\ No newline at end of file
