Phone

This section details Phone-related Linode CLI commands.

delete

Delete the verified phone number for the User making this request.

Usage

The format accepted by this command.

linode-cli phone delete [-h]

Sample

Examples of how this command might be used.

linode-cli phone delete

verify

Verify a phone number by confirming the one-time code received via SMS message after running the Send a phone number verification code operation.

Usage

The format accepted by this command.

linode-cli phone verify [-h] [--otp_code otp_code]

Sample

Examples of how this command might be used.

linode-cli phone verify \
    --otp_code 123456

Arguments

Additional fields used to execute this request.

Name

Type

Example

Description

--otp_code *

str

US

The one-time code received via SMS message after running the Send a phone number verification code operation.

sms-code-send

Send a one-time verification code via SMS message to the submitted phone number.

Usage

The format accepted by this command.

linode-cli phone sms-code-send [-h] [--iso_code iso_code]
    [--phone_number phone_number]

Sample

Examples of how this command might be used.

linode-cli phone sms-code-send \
    --iso-code US \
    --phone-number 555-555-5555

Arguments

Additional fields used to execute this request.

Name

Type

Example

Description

--iso_code *

str

US

The two-letter ISO 3166 country code associated with the phone number.

--phone_number *

str

555-555-5555

A valid phone number.