Get User Secret Question and Answer

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

Gets a secret question and answer for a specified user.

Normal response codes: 200, 203

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

 Request

This table shows the header parameters for the get 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 get user secret question and answer request:

NameTypeDescription

{userId}

​String

The user ID.

This operation does not require a request body.

 Response
 

Example 6.33. Get 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.34. Get 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...