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 body

emailstring regex required

The new email for the user.

newIdentifierVerificationRecordIdstring required

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

Response

The primary email was updated successfully.

Changes

No recorded changes to this endpoint across all 2 revisions of this API.