Change Recovery Question
POST {{baseUrl}}/api/v1/users/:userId/credentials/change_recovery_question
Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in STAGED, ACTIVE or RECOVERY status
that have a valid password credential
Request Body
{"password"=>{"hash"=>{"algorithm"=>"MD5", "digestAlgorithm"=>"SHA256_HMAC", "iterationCount"=>18642049, "keySize"=>45726264, "salt"=>"ullam", "saltOrder"=>"esse", "value"=>"in do", "workFactor"=>339924}, "hook"=>{"type"=>"amet magna"}, "value"=>"commodo sit"}, "provider"=>{"name"=>"nisi", "type"=>"IMPORT"}, "recovery_question"=>{"answer"=>"labor", "question"=>"nostrud ex"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"password":{"hash":{"algorithm":"MD5","digestAlgorithm":"SHA256_HMAC","iterationCount":18642049,"keySize":45726264,"salt":"ullam","saltOrder":"esse","value":"in do","workFactor":339924},"hook":{"type":"amet magna"},"value":"commodo sit"},"provider":{"name":"nisi","type":"IMPORT"},"recovery_question":{"answer":"labor","question":"nostrud ex"}}