Update portal login security questions and answers.
Update a user’s login security questions and answers on the SoftLayer customer portal. These questions and answers are used to optionally log into the SoftLayer customer portal using two-factor authentication. Each user must have three distinct questions set with a unique answer for each question, and each answer may only contain alphanumeric or the . , - _ ( ) [ ] : ; > < characters. Existing user security questions and answers are deleted before new ones are set, and users may only update their own security questions and answers.
|questions||SoftLayer_User_Security_Question||A list of security questions to use when logging into the SoftLayer customer portal. Each of these objects must have at least their id property populated.|
|answers||array of strings||The answers that correspond to the given list of security questions.|
Throw the exception ‘Access is denied.’ if a user tries to change another user’s portal login security questions and answers.
Throw the exception ‘Please provide three different security questions.’ if the questions parameter does not contain three distinct security questions.
Throw the exception ‘Please provide three unique security question answers.’ if the answers parameter does not contain three unique answers.
Throw the exception “Please provide valid security questions.’ if any of the given security questions do not exist.