Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,8 @@ To get the token for a remotely-managed tunnel:
</TabItem>
<TabItem label="API">

Make a `GET` request to the [Cloudflare Tunnel token](/api/resources/zero_trust/subresources/tunnels/methods/get/-token) endpoint:
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`:

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

### Account-scoped roles

<Render file="tunnel/account-scoped-roles" />
<Render file="tunnel/account-scoped-roles" />
Loading