Skip to main content

ProfilePhoneUpdateRequestBody

@loginid/websdk3Docs


@loginid/websdk3 / Internal Modules / ProfilePhoneUpdateRequestBody

Type Alias: ProfilePhoneUpdateRequestBody

ProfilePhoneUpdateRequestBody: object

Type declaration

messagingConsent?

optional messagingConsent: boolean

Whether the user consents to receiving SMS messages on this number. The phone will not be used for sending messages if no consent is provided.

phoneNumber

phoneNumber: string

Phone number

requestVerification?

optional requestVerification: boolean

Whether to update the phone number immediately or send an authorization code to verify. This method will fail if verification is requested but no consent is provided.