PersonalAccessToken
Object
Contains the details about a personal access token.
type PersonalAccessToken {
created: DateTime
id: String
integrityId: String
lastExchanged: DateTime
name: String
permissions: [Permission]
updated: DateTime
userId: String
}
Fields
| Field | Type | Description |
|---|---|---|
created | DateTime | Timestamp of the token creation. |
id | String | The unique ID of the access token. |
integrityId | String | |
lastExchanged | DateTime | The last time the token was used. |
name | String | The name assigned to the access token. |
permissions | [Permission] | The available permissions / scopes for the token, such as THING_READ_ALL |
updated | DateTime | Timestamp the token was last updated, including when permissions were added or removed. |
userId | String | The user the token belongs to. |
Used by
PersonalAccessTokenCreateResponse.pat(field)PersonalAccessTokenUpdateResponse.pat(field)tokens(query)User.tokens(field)