Personal access tokens
Get all personal access tokens (PATs) for the current user.
Returns all of the personal access tokens (PATs) belonging to the current user.
get/api/admin/user/tokens
Response
#/components/schemas/patsSchema
Example response
{
"pats": [
{
"id": 1,
"secret": "user:xyzrandomstring",
"createdAt": "2023-04-19T08:15:14.000Z",
"seenAt": "2023-04-19T08:15:14.000Z",
"userId": 1337,
"description": "user:xyzrandomstring",
"expiresAt": "2023-04-19T08:15:14.000Z"
}
]
}