Skip to main content

Manage personal access tokens

UI-only

Personal access tokens are managed in the platform UI. There is no CLI equivalent, and a personal access token cannot be used to manage tokens through the API.

This guide covers creating, regenerating, renaming, and deleting personal access tokens. Personal access tokens explains what a token can do and when you need one.

Create a token​

Creating a token needs a verified email and a sign-in from the last two hours: when yours is older, the platform asks you to sign in again.

  1. Open Settings → Personal Access Tokens.
  2. Click Generate new token.
  3. Enter a descriptive name in Token name (for example, cli-laptop or ci-pipeline).
  4. Choose an Expiration: 7, 30, 60, or 90 days, or No expiration. The default is 30 days.
  5. Click Generate token.
  6. Copy the token value immediately with the copy button next to it — it is shown only once. If you close the dialog or navigate away without copying it, you must regenerate the token.

Store the value in a password manager or secrets vault.

Regenerate a token​

Regenerating creates a new value and immediately invalidates the previous one. Update any tools or scripts that use the old value. Like creating a token, it needs a sign-in from the last two hours.

  1. Open Settings → Personal Access Tokens.
  2. Find the token you want to regenerate.
  3. Click Regenerate (the refresh icon) in its row.
  4. Choose an Expiration for the new value and click Regenerate.
  5. Copy the new token value with the copy button next to it — it is shown only once.

Rename a token​

  1. Open Settings → Personal Access Tokens.
  2. Find the token you want to rename.
  3. Click Rename (the pencil icon) in its row.
  4. Enter the new name in New token name and click Rename token.

Renaming does not change the token value or expiration, so anything using the token keeps working.

Delete a token​

  1. Open Settings → Personal Access Tokens.
  2. Find the token.
  3. Click Delete (the trash-can icon) in its row, then click Delete to confirm.

The token is immediately revoked. Any tool or session using it will receive an authentication error.

Next steps​