Add API endpoint to revoke PATs for service accounts
What does this MR do and why?
Add API endpoint to revoke PATs for service accounts
For the group services account API, allow to revoke personal access tokens.
I will add the documentation in a follow-up MR.
EE: true
Changelog: added
References
Closes #513959 (closed)
Screenshots or screen recordings
How to set up and validate locally
- Enable Ultimate license on a group
- Create a service account
- Associate the service account with the group
- Create a PAT for the service accounts
- Revoke the PAT via the new API endpoint
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.