Skip to content

[Cloudflare One] Add API and Terraform examples for renewing and revoking service tokens#31858

Open
kennyj42 wants to merge 1 commit into
cloudflare:productionfrom
kennyj42:kjohnson/service-tokens-renew-revoke-api-terraform
Open

[Cloudflare One] Add API and Terraform examples for renewing and revoking service tokens#31858
kennyj42 wants to merge 1 commit into
cloudflare:productionfrom
kennyj42:kjohnson/service-tokens-renew-revoke-api-terraform

Conversation

@kennyj42

@kennyj42 kennyj42 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

The Service tokens page only documented dashboard steps for renewing and revoking tokens. This adds API and Terraform (v5) tabs to both sections, matching the pattern used in the Create service token section.

Changes

  • Renew service tokens: added API tab (refresh + update endpoints) and Terraform tab (update duration)
  • Revoke service tokens: added API tab (delete endpoint) and Terraform tab (terraform destroy)

Preview

https://developers.cloudflare.com/cloudflare-one/access-controls/service-credentials/service-tokens/#renew-service-tokens

@kennyj42 kennyj42 requested review from a team, asamborski and elithrar as code owners July 2, 2026 16:22
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Review

✅ No issues found in commit 6fc450c.

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.

3 participants