Users
Add personal access token
Changed onAdd a new personal access token for the user.
post/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.
Request body
Response
The personal access token was added successfully.
Changes
- breaking
the
response property's maxLength was increased from21to128for the response status
- breaking