Skip to main content

tokens

Query

This will return information about the tokens in your account, or if you're an admin, you can look at tokens for other users. Note this will not return the actual Personal Access Token, only the token record id and data like the name and scopes.

tokens(filter: PersonalAccessTokenFilterInput): [PersonalAccessToken]

Arguments​

ArgumentTypeDefaultDescription
filterPersonalAccessTokenFilterInputThis filter is typically used to restrict results to a specific token or tokens.

Returns​

[PersonalAccessToken]: Contains the details about a personal access token.

Example​

Request
query Tokens {
tokens {
created
id
integrityId
lastExchanged
name
permissions
updated
userId
}
}