Skip to main content

security_questions

Creates, updates, deletes, gets or lists a security_questions resource.

Overview

Namesecurity_questions
TypeResource
Idlinode.profile.security_questions

Fields

The following fields are returned by SELECT queries:

Returns a list of security questions.

NameDatatypeDescription
idintegerThe ID representing the security question.
questionstringRead-only The security question. (example: In what city were you born?)
responsestringThe security question response. (example: Gotham City)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectReturns a collection of security questions and their responses, if any, for your User Profile.

Learn more...

Learn more...
answerexecAdds security question responses for your user. You need to use exactly three unique questions. Previous responses are overwritten if answered, or they're reset to null if unanswered.

> 📘
>
> You need to answer these security questions before you can access the Create a two factor secret operation. OAuth scopes.

<br /> account:read_write<br />

Learn more...

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples

Returns a collection of security questions and their responses, if any, for your User Profile.

Learn more...

Learn more...

SELECT
id,
question,
response
FROM linode.profile.security_questions
;

Lifecycle Methods

Adds security question responses for your user. You need to use exactly three unique questions. Previous responses are overwritten if answered, or they're reset to null if unanswered.

> 📘
>
> You need to answer these security questions before you can access the Create a two factor secret operation. OAuth scopes.

<br /> account:read_write<br />

Learn more...

EXEC linode.profile.security_questions.answer
@@json=
'{
"security_questions": "{{ security_questions }}"
}'
;