Accelerate the Value of Data

Create Users

The Create Users API request creates one more more users as specified in the request body. The roles and tenants must be specified in the new format under the "userPermissions" property. Request body must be an array with Reltio user object.

Table 1. User Permissions Details
Request Type POST
URL {oauth_uri}/users
Parameters -
Access -

Response

Returns the successfully created users array in the response.

Creating User Details

Request

POST {oauth_uri}/users
Headers: Authorization: Bearer <Access-Token>
Request Body:
    [  {
        "customer": "TestCustomer",
        "username": "testdemouser@reltio.com",
        "password":"Welcome1!!",
        "email": "testdemouser@reltio.com",
        "entity": null,
        "externalTokens": [],
        "enabled": true,
        "accountNonExpired": true,
        "credentialsNonExpired": true,
        "accountNonLocked": true,
        "externalUser": false,
        "locale": "en",
        "timezone": "UTC",
        "userPermissions":{
        "roles": {
                    "ROLE_API":["t1", "t2"],
                    "ROLE_ADMIN_TENANT":["t1"],
                    "ROLE_USER": ["t3"]
                }
        },
        "groups": ["Config_Admin"]
    }
 ]     
            

Response

[
    {
        "customer": "SYSTEM",
        "username": "testdemouser@reltio.com",
        "email": "testdemouser@reltio.com",
        "entity": null,
        "externalTokens": [],
        "tenants": [],
        "enabled": true,
        "accountNonExpired": true,
        "credentialsNonExpired": true,
        "accountNonLocked": true,
        "roles": [],
        "externalUser": false,
        "locale": "en",
        "timezone": "UTC",
        "userPermissions": {
            "roles": {
                "ROLE_API": [
                    "t1",
                    "t2"
                ],
                "ROLE_ADMIN_TENANT": [
                    "t1"
                ],
                "ROLE_USER": [
                    "t3"
                ]
            },
            "permissions": {},
            "permissionsByService": {}
        },
        "groups": ["Config_Admin"]
    }
]