supported_security_questions
Creates, updates, deletes, gets or lists a supported_security_questions resource.
Overview​
| Name | supported_security_questions |
| Type | Resource |
| Id | okta.users.supported_security_questions |
Fields​
The following fields are returned by SELECT queries:
- list_supported_security_questions
| Name | Datatype | Description |
|---|---|---|
answer | string | Answer to the question |
question | string | Unique key for the question (disliked_food, name_of_first_plush_toy, first_award, favorite_security_question, favorite_toy, first_computer_game, favorite_movie_quote, first_sports_team_mascot, first_music_purchase, favorite_art_piece, grandmother_favorite_desert, first_thing_cooked, childhood_dream_job, first_kiss_location, place_where_significant_other_was_met, favorite_vacation_location, new_years_two_thousand, favorite_speaker_actor, favorite_book_movie_character, favorite_sports_player) (example: disliked_food) |
questionText | string | Human-readable text that's displayed to the user (example: What is the food you least liked as a child?) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_supported_security_questions | select | userId, subdomain | Lists all available security questions for the specified user |
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 |
|---|---|---|
subdomain | string | (default: my-org) |
userId | string | ID of an existing Okta user |
SELECT examples​
- list_supported_security_questions
Lists all available security questions for the specified user
SELECT
answer,
question,
questionText
FROM okta.users.supported_security_questions
WHERE userId = '{{ userId }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;