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
- application/json
Attributes of user to be created
Response
Supported Media Types
- application/json
200 Response
Successful
Headers
-
ResponseTime: string
Captures the time in milliseconds taken for processing the request.
404 Response
Resource not found
500 Response
Internal Server Error
Default Response
Unexpected error
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" }