Skip to content

Commit b1730a8

Browse files
committed
Move content to partial
1 parent 949eff2 commit b1730a8

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

src/content/docs/api-shield/management-and-monitoring/endpoint-labels.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,7 @@ Alternatively, you can create a user-defined label via **Security** > **Web Asse
157157

158158
<Steps>
159159

160-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
161-
2. Go to **Security** > **API Shield** > **Endpoint Management**.
162-
3. Choose the endpoint that you want to label.
163-
4. Select **Edit labels**.
164-
5. Add the label(s) that you want to use for the endpoint from the list of managed and user-defined labels.
165-
6. Select **Save labels**.
160+
<Render file="labels-add-old-nav" product="api-shield" />
166161

167162
</Steps>
168163

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
params:
3+
- labelName?
4+
---
5+
6+
import { Markdown } from "~/components";
7+
8+
{/* prettier-ignore-start */}
9+
10+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
11+
2. Go to **Security** > **API Shield**.
12+
3. In the **Endpoint Management** tab, choose the endpoint that you want to label.
13+
4. Select **Edit labels**.
14+
5. { props.labelName ?
15+
<Markdown text={`Add the \`${props.labelName}\` label to the endpoint.`} /> :
16+
"Add the label(s) that you want to use for the endpoint from the list of managed and user-defined labels." }
17+
6. Select **Save labels**.
18+
19+
{/* prettier-ignore-end */}

0 commit comments

Comments
 (0)