Users

Get personal access tokens

Changed on

Get all personal access tokens for the user.

get/api/users/{userId}/personal-access-tokens

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/users/{userId}/personal-access-tokens
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

userIdstring required

The unique identifier of the user.

Response

A list of personal access tokens.

tenantIdstring required
userIdstring required
namestring required
valuestring required
createdAtnumber required
expiresAtnumber nullable required

Changes

    • breaking

      the / response property's maxLength was increased from 21 to 128 for the response status