Skip to content

Commit 148bc45

Browse files
cickuranbel
andauthored
[Cloudflare Tunnel] Fix broken API link (#19012)
* [Cloudflare Tunnel] Fix broken link * Update src/content/docs/cloudflare-one/connections/connect-networks/configure-tunnels/remote-management.mdx --------- Co-authored-by: ranbel <[email protected]>
1 parent 4b0d155 commit 148bc45

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/content/docs/cloudflare-one/connections/connect-networks/configure-tunnels/remote-management.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,8 @@ To get the token for a remotely-managed tunnel:
164164
</TabItem>
165165
<TabItem label="API">
166166

167-
Make a `GET` request to the [Cloudflare Tunnel token](/api/resources/zero_trust/subresources/tunnels/methods/get/-token) endpoint:
167+
Make a `GET` request to the [Cloudflare Tunnel token](/api/resources/zero_trust/subresources/tunnels/subresources/token/methods/get/) endpoint. The token value can be found in the `result`:
168168

169-
```sh
170-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/cfd_tunnel/{tunnel_id}/token \
171-
--header "Authorization: Bearer <API_TOKEN>"
172-
```
173169
```sh output
174170
{
175171
"success": true,
@@ -310,4 +306,4 @@ The tunnel token is now fully rotated. The old token is no longer in use.
310306

311307
### Account-scoped roles
312308

313-
<Render file="tunnel/account-scoped-roles" />
309+
<Render file="tunnel/account-scoped-roles" />

0 commit comments

Comments
 (0)