Creates users
post
                    /iam/governance/selfservice/api/v1/users
Creates the users in Oracle Identity Manager. The user attributes are mentioned as part of the payload. The logged in user should have the necessary privileges to create a user in Oracle Identity Manager. 
                Request
Supported Media Types
                - application/json
Attributes of the user which is 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.
401 Response
Unauthorized
                
                
                403 Response
Forbidden
                
                
                404 Response
Resource not found
                
                
                500 Response
Internal Server Error
                
                
                Examples
This example demonstrates the ability for bulk operation of creating users. The information shown here is against a pseudo system and serves as a prototype.
cURL Example
curl -H "Content-Type: application/json" -X POST -u username:password -d @post.json https://pseudo.com/iam/governance/selfservice/api/v1/users
Example of POST Request Body
The following example shows the contents of the request body in JSON format.
{
  "users": [
    {
      "requestId": "123",
      "fields": [
        {
          "name": "Last Name",
          "value": "UNIQUE_NAME LN1"
        },
        {
          "name": "Role",
          "value": "EMP"
        },
        {
          "name": "act_key",
          "value": 1
        }
      ]
    },
    {
      "requestId": "1234",
      "fields": [
        {
          "name": "Last Name",
          "value": "UNIQUE_NAME LN2"
        },
        {
          "name": "Role",
          "value": "EMP"
        },
        {
          "name": "act_key",
          "value": 2
        }
      ]
    }
  ]
}
 Example of POST Response Body
The following example shows the contents of the response body in JSON format.
{
  "links": [
    {
      "rel": "self",
      "href": "http://pseudo.com/iam/governance/selfservice/api/v1/users"
    }
  ],
  "count": 2,
  "totalResult": 2,
  "users": [
    {
      "links": [
        {
          "rel": "self",
          "href": "http://pseudo.com/iam/governance/selfservice/api/v1/users/12095"
        }
      ],
      "id": "12095",
      "status": " SUCCESS",
      "requestId": "123",
      "name": "UNIQUE_NAME LN1"
    },
    {
      "links": [
        {
          "rel": "self",
          "href": "http://pseudo.com/iam/governance/selfservice/api/v1/users/12096"
        }
      ],
      "id": "12096",
      "status": " SUCCESS",
      "requestId": "1234",
      "name": "UNIQUE_NAME LN2"
    }
  ]
}