My account
Update profile
Changed onUpdate profile for the user, only the fields that are passed in will be updated. Updating or deleting username requires a logto-verification-id header for checking sensitive permissions. Removing any sign-in identifier, including username, is rejected if it would remove the user's last identifier.
patch/api/my-account
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/my-account
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Request body
Response
The profile was updated successfully.
Changes
- breaking
the
response property's maxLength was increased from12to128for the response status - breaking
the
//response property's maxLength was increased from12to128for the response status
- breaking
- info
added the optional property
to the response with the status
- info