Skip to content

fix: correct dashboard URL for Global API key - use /profile/api-tokens instead of account-level URL#31791

Open
poetryofcode wants to merge 1 commit into
cloudflare:productionfrom
poetryofcode:docs/fix-global-api-key-dashboard-url
Open

fix: correct dashboard URL for Global API key - use /profile/api-tokens instead of account-level URL#31791
poetryofcode wants to merge 1 commit into
cloudflare:productionfrom
poetryofcode:docs/fix-global-api-key-dashboard-url

Conversation

@poetryofcode

Copy link
Copy Markdown

The View your Global API key step links to a Cloudflare dashboard deep-link that opens the account-level API Tokens page (/?to=/:account/api-tokens), but the Global API Key is under the user profile section, not the account section.

What changed

src/content/docs/fundamentals/api/get-started/keys.mdx: Changed the DashButton URL from /?to=/:account/api-tokens to /profile/api-tokens.

This matches the existing src/content/dash-routes/core.json entry which maps /profile/api-tokens → "API Tokens" (user profile level) and /?to=/:account/api-tokens → "Account API tokens" (account level). Several other docs pages (e.g. src/content/partials/fundamentals/api-roll-token.mdx) already use the correct /profile/api-tokens path.

Fixes #31646

The DashButton on the "View your Global API key" step linked to
/?to=/:account/api-tokens, which navigates to the account-level API Tokens
page. The Global API Key lives under the user-profile page at
/profile/api-tokens, so update the URL accordingly.

Fixes cloudflare#31646
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Review

✅ No issues found in commit f3eb64d.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

Checks PR title, description, and redirect checklist.

No convention issues found.

Style Guide Review

No style-guide issues found.

Redirects

No missing redirect entries found.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Global API Key (legacy) links to non-legacy API key page

1 participant