mirror of
https://github.com/LukeHagar/clerk-sdk-java.git
synced 2025-12-06 12:27:45 +00:00
6.0 KiB
6.0 KiB
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. |