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
Copy file name to clipboardExpand all lines: openapi.yaml
+158-5Lines changed: 158 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -16730,12 +16730,12 @@ paths:
16730
16730
tags:
16731
16731
- Profile
16732
16732
summary: Two Factor Secret Create
16733
-
description: >
16734
-
Generates a Two Factor secret for your User. TFA will
16735
-
not be enabled until you have successfully confirmed the code you
16736
-
were given with [tfa-enable-confirm](/docs/api/profile/#two-factor-secret-create) (see below).
16737
-
Once enabled, logins from untrusted computers will be required to provide
16733
+
description: |
16734
+
Generates a Two Factor secret for your User. To enable TFA for your User, enter the secret obtained from this command with the **Two Factor Authentication Confirm/Enable** ([POST /profile/tfa-enable-confirm](/docs/api/profile/#two-factor-authentication-confirmenable)) command.
16735
+
Once enabled, logins from untrusted computers are required to provide
16738
16736
a TFA code before they are successful.
16737
+
16738
+
**Note**: Before you can enable TFA, security questions must be answered for your User by accessing the **Security Questions Answer** ([POST /profile/security-questions](/docs/api/profile/#security-questions-answer)) command.
16739
16739
operationId: tfaEnable
16740
16740
x-linode-cli-action: tfa-enable
16741
16741
security:
@@ -17256,6 +17256,107 @@ paths:
17256
17256
- lang: CLI
17257
17257
source: >
17258
17258
linode-cli profile device-revoke 123
17259
+
/profile/security-questions:
17260
+
x-linode-cli-command: security-questions
17261
+
get:
17262
+
x-linode-grant: read_only
17263
+
servers:
17264
+
- url: https://api.linode.com/v4
17265
+
tags:
17266
+
- Profile
17267
+
summary: Security Questions List
17268
+
description: >
17269
+
Returns a collection of security questions and their responses, if any, for your User Profile.
17270
+
operationId: getSecurityQuestions
17271
+
x-linode-cli-action: list
17272
+
security:
17273
+
- personalAccessToken: []
17274
+
- oauth:
17275
+
- account:read_only
17276
+
responses:
17277
+
'200':
17278
+
description: Returns a list of security questions.
Previous responses are overwritten if answered or reset to `null` if unanswered.
17314
+
17315
+
**Note**: Security questions must be answered for your User prior to accessing the **Two Factor Secret Create** ([POST /profile/tfa-enable](/docs/api/profile/#two-factor-secret-create)) command.
0 commit comments