Get personal access tokens
Get all personal access tokens for the user.
Path parameters
-
The unique identifier of the user.
GET
/api/users/{userId}/personal-access-tokens
curl \
-X GET https://[tenant_id].logto.app/api/users/{userId}/personal-access-tokens \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"tenantId": "string",
"userId": "string",
"name": "string",
"value": "string",
"createdAt": 42.0,
"expiresAt": 42.0
}
]