v1

latestOpenAPI 3.0.12026-08-0435481.5 MB
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 body

phonestring regex required

The new phone for the user.

newIdentifierVerificationRecordIdstring required

The identifier verification record ID for the new phone ownership verification.

Response

The primary phone was updated successfully.