Skip to main content

supported_security_questions

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

Overview​

Namesupported_security_questions
TypeResource
Idokta.users.supported_security_questions

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
answerstringAnswer to the question
questionstringUnique 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)
questionTextstringHuman-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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_supported_security_questionsselectuserId, subdomainLists 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.

NameDatatypeDescription
subdomainstring(default: my-org)
userIdstringID of an existing Okta user

SELECT examples​

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
;