Users
Update personal access token
Changed onUpdate a token for the user by name using the legacy path parameter. Deprecated: use the PATCH /personal-access-tokens endpoint instead to avoid url name encoding issues.
patch/api/users/{userId}/personal-access-tokens/{name}
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/users/{userId}/personal-access-tokens/{name}
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Path parameters
userIdstring required
The unique identifier of the user.
namestring required
The current name of the token.
Request body
Response
The token was updated successfully.
Changes
- breaking
the
response property's maxLength was increased from21to128for the response status
- breaking