My account
Upload account avatar
Upload a single avatar image to the configured storage provider and return the public URL of the uploaded asset. Requires the profile scope and the avatar field to be editable in the account center configuration. The returned URL can then be used as the value for the avatar field via PATCH /api/my-account.
post/api/my-account/user-assets/avatar
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/my-account/user-assets/avatar
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Request body multipart/form-data
Response
The asset was uploaded successfully.
Changes
No recorded changes to this operation across all 8 revisions of this API.