Skip to content

Implement RegeneratePersonalAccessToken RPC #14611

Closed
@laushinka

Description

@laushinka

A user can re-generate their token. This action performs the following:

  • For a given Token ID, create a new Personal Access Token (similar to the Create flow) and persist the new token under the existing Token ID (update).
  • Re-generating a token requires expiry of the regenerated token to be set, and must therefore also update the Expiry Time
  • When regenerating, you must ensure the token being updated belongs to the user from the request

Acceptance Criteria:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Status

    In Validation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions