Files
clerk-sdk-java/docs/models/operations/CreatePhoneNumberRequestBody.md
2024-06-13 13:51:50 -04:00

6.0 KiB
Raw Permalink Blame History

CreatePhoneNumberRequestBody

Fields

Field Type Required Description
userId Optional<? extends String> The ID representing the user
phoneNumber Optional<? extends String> The new phone number. Must adhere to the E.164 standard for phone number format.
verified JsonNullable<? extends Boolean> When created, the phone number will be marked as verified.
primary JsonNullable<? extends Boolean> Create this phone number as the primary phone number for the user.
Default: false, unless it is the first phone number.
reservedForSecondFactor JsonNullable<? extends Boolean> Create this phone number as reserved for multi-factor authentication.
The phone number must also be verified.
If there are no other reserved second factors, the phone number will be set as the default second factor.