Skip to content

PAT rotation via API

Imre Farkas requested to merge if-387606-pat_token_rotation into master

What does this MR do and why?

Adds the following API endpoint to rotate personal access tokens:

  • POST /personal_access_tokens/:id/rotate

Related to #403042 (closed).

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vasilii Iakliushin

Merge request reports