My account
Update primary email
Update primary email for the user, a logto-verification-id in header is required for checking sensitive permissions, and a new identifier verification record is required for the new email ownership verification.
post/api/my-account/primary-email
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/my-account/primary-email
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Request body
Response
The primary email was updated successfully.
Changes
No recorded changes to this operation across all 8 revisions of this API.