Creating a personal access token
To create a personal access token, head to the project settings, then topersonal access tokens, then click generate token.

Token ownership
A personal access token uses its creator’s permissions and stops working if that user is removed from the organization. You can only create tokens for yourself: the API creates them for the signed-in user (POST /api/v1/user/me/personal-access-tokens), and no endpoint creates a token for another user. For CI/CD, use a dedicated identity; see Set up secrets and credentials.