Skip to content

feat: DeleteCurrentUserPAT RPC proto definition#449

Open
AmanGIT07 wants to merge 1 commit intomainfrom
feat/delete-current-user-pat
Open

feat: DeleteCurrentUserPAT RPC proto definition#449
AmanGIT07 wants to merge 1 commit intomainfrom
feat/delete-current-user-pat

Conversation

@AmanGIT07
Copy link
Contributor

@AmanGIT07 AmanGIT07 commented Mar 17, 2026

Summary by CodeRabbit

  • New Features
    • Added API endpoint for deleting current user Personal Access Tokens (PATs).

@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0e6ff139-f76b-4bc6-8611-d927f1f88669

📥 Commits

Reviewing files that changed from the base of the PR and between 05684da and 8c639b3.

📒 Files selected for processing (1)
  • raystack/frontier/v1beta1/frontier.proto

📝 Walkthrough

Walkthrough

Added a new RPC DeleteCurrentUserPAT to FrontierService that enables deletion of the current user's personal access token. The addition includes two new protobuf messages: DeleteCurrentUserPATRequest with a uuid-validated id field and an empty DeleteCurrentUserPATResponse.

Changes

Cohort / File(s) Summary
PAT Management API Extension
raystack/frontier/v1beta1/frontier.proto
Added DeleteCurrentUserPAT RPC to FrontierService with DeleteCurrentUserPATRequest (containing uuid-validated id field) and empty DeleteCurrentUserPATResponse messages.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested reviewers

  • rohilsurana
  • whoAbhishekSah

Poem

🐰 A token deleted, clean and neat,
The PAT must vanish, no repeat!
With UUID's guard and validations true,
One less access key to keep track of for you! 🔐

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the main change: adding a new DeleteCurrentUserPAT RPC proto definition to extend PAT management capabilities.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/delete-current-user-pat
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant