Skip to content

Commit adcc332

Browse files
committed
Update cli commands
1 parent 1e7b03f commit adcc332

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

openapi.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17464,7 +17464,7 @@ paths:
1746417464
source: >
1746517465
linode-cli sshkey delete 42
1746617466
/profile/phone-number:
17467-
x-linode-cli-command: profile
17467+
x-linode-cli-command: phone
1746817468
delete:
1746917469
x-linode-grant: read_write
1747017470
tags:
@@ -17475,7 +17475,7 @@ paths:
1747517475

1747617476
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.
1747717477
operationId: deleteProfilePhoneNumber
17478-
x-linode-cli-command: phone-delete
17478+
x-linode-cli-command: delete
1747917479
security:
1748017480
- personalAccessToken: []
1748117481
- oauth:
@@ -17499,7 +17499,7 @@ paths:
1749917499
https://api.linode.com/v4/profile/phone-number
1750017500
- lang: CLI
1750117501
source: >
17502-
linode-cli profile phone-delete
17502+
linode-cli phone delete
1750317503
post:
1750417504
x-linode-grant: read_write
1750517505
tags:
@@ -17516,7 +17516,7 @@ paths:
1751617516

1751717517
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.
1751817518
operationId: postProfilePhoneNumber
17519-
x-linode-cli-command: phone-code-send
17519+
x-linode-cli-command: sms-code-send
1752017520
security:
1752117521
- personalAccessToken: []
1752217522
- oauth:
@@ -17562,11 +17562,11 @@ paths:
1756217562
https://api.linode.com/v4/profile/phone-number
1756317563
- lang: CLI
1756417564
source: >
17565-
linode-cli profile phone-code-send \
17565+
linode-cli phone sms-code-send \
1756617566
--iso-code US \
1756717567
--phone-number 555-555-5555
1756817568
/profile/phone-number/verify:
17569-
x-linode-cli-command: profile
17569+
x-linode-cli-command: phone
1757017570
post:
1757117571
x-linode-grant: read_write
1757217572
tags:
@@ -17581,7 +17581,7 @@ paths:
1758117581

1758217582
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.
1758317583
operationId: postProfilePhoneNumberVerify
17584-
x-linode-cli-command: phone-verify
17584+
x-linode-cli-command: verify
1758517585
security:
1758617586
- personalAccessToken: []
1758717587
- oauth:
@@ -17620,7 +17620,7 @@ paths:
1762017620
https://api.linode.com/v4/profile/phone-number/verify
1762117621
- lang: CLI
1762217622
source: >
17623-
linode-cli profile phone-verify \
17623+
linode-cli phone verify \
1762417624
--otp_code 123456
1762517625
/profile/preferences:
1762617626
x-linode-cli-command: profile

0 commit comments

Comments
 (0)