My account
Update primary phone
Update primary phone 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 phone ownership verification.
post/api/my-account/primary-phone
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/my-account/primary-phone
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Request body
Response
The primary phone was updated successfully.
Changes
No recorded changes to this operation across all 8 revisions of this API.