Update User Secret Question and Answer

 
MethodURIDescription
PUT/v2.0/users/{userId}/RAX-KSQA/secretqa

Updates a secret question and answer for a specified user.

Normal response codes: 200

Error response codes: identityFault (400, 500, ), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503), badMediaType (415)

 Request

This table shows the header parameters for the update user secret question and answer request:

NameTypeDescription

X-Auth-Token

​String

(Required)

A valid authentication token for an administrative user.

This table shows the URI parameters for the update user secret question and answer request:

NameTypeDescription

{userId}

​String

The user ID.

 

Example 6.35. Update User Secret Question and Answer: XML request

<?xml version="1.0" encoding="UTF-8"?>

<secretQA xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSQA/v1.0"
          question="What is the color of my eyes?"
          answer="Leonardo Da Vinci" />

 

Example 6.36. Update User Secret Question and Answer: JSON request

{
    "RAX-KSQA:secretQA":{
        "question": "What is the color of my eyes?",
        "answer": "Leonardo Da Vinci"
    }
}

 Response
 

Example 6.37. Update User Secret Question and Answer: XML response

<?xml version="1.0" encoding="UTF-8"?>

<secretQA xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSQA/v1.0"
          question="What is the color of my eyes?"
          answer="Leonardo Da Vinci" />

 

Example 6.38. Update User Secret Question and Answer: JSON response

{
    "RAX-KSQA:secretQA":{
        "question": "What is the color of my eyes?",
        "answer": "Leonardo Da Vinci"
    }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...