You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Delete the verified phone number for the User making this request.
17576
+
17577
+
Use this command to opt out of SMS messages for the requesting User after a phone number has been verified with the **Phone Number Verify** ([POST /profile/phone-number/verify](/docs/api/profile/#phone-number-verify)) command.
Send a one-time verification code via SMS message to the submitted phone number. Providing your phone number helps ensure you can securely access your Account in case other ways to connect are lost. Your phone number is only used to verify your identity by sending an SMS message. Standard carrier messaging fees may apply.
17611
+
17612
+
* By accessing this command you are opting in to receive SMS messages. You can opt out of SMS messages by using the **Phone Number Delete** ([DELETE /profile/phone-number](/docs/api/profile/#phone-number-delete)) command after your phone number is verified.
17613
+
17614
+
* Verification codes are valid for 10 minutes after they are sent.
17615
+
17616
+
* Subsequent requests made prior to code expiration result in sending the same code.
17617
+
17618
+
Once a verification code is received, verify your phone number with the **Phone Number Verify** ([POST /profile/phone-number/verify](/docs/api/profile/#phone-number-verify)) command.
17619
+
operationId: postProfilePhoneNumber
17620
+
x-linode-cli-command: sms-code-send
17621
+
security:
17622
+
- personalAccessToken: []
17623
+
- oauth:
17624
+
- account:read_write
17625
+
requestBody:
17626
+
description: Enter a phone number and country code for verification.
17627
+
content:
17628
+
application/json:
17629
+
schema:
17630
+
required:
17631
+
- iso_code
17632
+
- phone_number
17633
+
type: object
17634
+
properties:
17635
+
iso_code:
17636
+
type: string
17637
+
description: The two-letter ISO 3166 country code associated with the phone number.
17638
+
example: US
17639
+
phone_number:
17640
+
type: string
17641
+
description: A valid phone number.
17642
+
format: phone
17643
+
example: 555-555-5555
17644
+
responses:
17645
+
'200':
17646
+
description: >
17647
+
Phone number verification code request successful.
Verify a phone number by confirming the one-time code received via SMS message after accessing the **Phone Verification Code Send** ([POST /profile/phone-number](/docs/api/profile/#phone-number-verification-code-send)) command.
17678
+
17679
+
* Verification codes are valid for 10 minutes after they are sent.
17680
+
17681
+
* Only the same User that made the verification code request can use that code with this command.
17682
+
17683
+
Once completed, the verified phone number is assigned to the User making the request. To change the verified phone number for a User, first use the **Phone Number Delete** ([DELETE /profile/phone-number](/docs/api/profile/#phone-number-delete)) command, then begin the verification process again with the **Phone Verification Code Send** ([POST /profile/phone-number](/docs/api/profile/#phone-number-verification-code-send)) command.
17684
+
operationId: postProfilePhoneNumberVerify
17685
+
x-linode-cli-command: verify
17686
+
security:
17687
+
- personalAccessToken: []
17688
+
- oauth:
17689
+
- account:read_write
17690
+
requestBody:
17691
+
description: Enter a phone verification code for confirmation.
17692
+
content:
17693
+
application/json:
17694
+
schema:
17695
+
required:
17696
+
- otp_code
17697
+
type: object
17698
+
properties:
17699
+
otp_code:
17700
+
type: string
17701
+
description: The one-time, six-digit code received via SMS message after accessing the **Phone Verification Code Send** ([POST /profile/phone-number](/docs/api/profile/#phone-number-verification-code-send)) command.
The phone number verified for this Profile with the **Phone Number Verify** ([POST /profile/phone-number/verify](/docs/api/profile/#phone-number-verify)) command.
25327
+
25328
+
`null` if this Profile has no verified phone number.
0 commit comments