Update a personal access token

Updates a Personal Access Token.

Parent and child accounts

In the context of the parent and child accounts feature, delegate users can't use personal access tokens on child accounts. You need to create a delegate user token instead.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: update_profile_pat
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: account:read_write

CLI

linode-cli profile token-update 123 \
  --label linode-cli

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

The ID of the token to access.

Body Params

A Personal Access Token is a token generated manually to access the API without going through an OAuth login. Personal Access Tokens can have scopes just like OAuth tokens do, and are commonly used to give access to command-line tools like the Linode CLI, or when writing your own integrations.

string
length between 1 and 100

Filterable This token's label. This is for display purposes only, but can be used to more easily track what you're using each token for.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json