security_questions
Creates, updates, deletes, gets or lists a security_questions
resource.
Overview
Name | security_questions |
Type | Resource |
Id | linode.profile.security_questions |
Fields
The following fields are returned by SELECT
queries:
- get_security_questions
Returns a list of security questions.
Name | Datatype | Description |
---|---|---|
id | integer | The ID representing the security question. |
question | string | Read-only The security question. (example: In what city were you born?) |
response | string | The security question response. (example: Gotham City) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_security_questions | select | Returns a collection of security questions and their responses, if any, for your User Profile. Learn more... Learn more... | ||
post_security_questions | exec | 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... |
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.
Name | Datatype | Description |
---|
SELECT
examples
- get_security_questions
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
- post_security_questions
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.post_security_questions
@@json=
'{
"security_questions": "{{ security_questions }}"
}';