Submit User Self Registration Request

post

/iam/governance/selfservice/api/v1/unauthservice/selfregistration

Submits a user self registration request based on template data.

Request

Supported Media Types
Body ()
Attributes of user to be created
Root Schema : SelfRegistrationRequest
Type: object
Show Source
Nested Schema : challengeQuestions
Type: array
Show Source
Nested Schema : RequestDataMap
Type: object
Show Source
Nested Schema : UserIdandPasswordDetails
Type: object
Show Source
Nested Schema : QueAndAnsMap
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful
Headers
Body ()
Root Schema : SelfRegistrationResponse
Type: object
Show Source
Nested Schema : Request
Type: object
Show Source
Nested Schema : LinkDataInstances
Type: object
Show Source

404 Response

Resource not found

500 Response

Internal Server Error

Default Response

Unexpected error
Back to Top

Examples

This demonstrates the ability for a user to self register for Oracle Identity Manager. The information shown here is against a pseudo system and serves as a prototype.

cURL Example

curl  -H "Content-Type: application/json"  -H "X-Requested-By: <anyvalue>"  -X  POST  -u username:password -d  @post.json https://pseudo.com/iam/governance/selfservice/api/v1/unauthservice/selfregistration

Example of POST Request Body

The following example shows the contents of the request body in JSON format.

{
  "requestDataMap": [
    {
      "name": "First Name",
      "value": "Ashish123"
    },
    {
      "name": "Last Name",
      "value": "Kumar123"
    },
    {
      "name": "Email",
      "value": "qwe1@Kumar.com"
    }
  ],
  "challengeQuestions": [
    {
      "name": "What is your mother's maiden name?",
      "value": "value of challenge question 1"
    },
    {
      "name": "What is the name of your pet?",
      "value": "value of challenge question 2"
    },
    {
      "name": "What is the city of your birth?",
      "value": "value of challenge question 3"
    }
  ],
  "userCredentials": [
    {
      "name": "User Login",
      "value": "qwe1@123"
    },
    {
      "name": "usr_password",
      "value": "PASSWORD"
    },
    {
      "name": "Confirm Password",
      "value": "PASSWORD"
    }
  ]
}

Example of POST Response Body

The following example shows the contents of the response body in JSON format.

{
    "links": [
        {
            "rel": "self",
            "href": "https://pseudo.com/iam/governance/selfservice/api/v1/unauthservice/selfregistration"
        }
    ],
    "request": {
        "name": "id",
        "value": "5002",
        "link": {
            "rel": "self",
            "href": "https://pseudo.com/iam/governance/selfservice/api/v1/requests/5002"
        }
    },
    "status": "Request Created"
}
Back to Top