Unify and manage your data

Get Users

The Get Users API request returns all the users from the Auth Server.
Note: If your users are moved to permission-based access, the response of Get Users API contains the userPermissions property.
Table 1. User Permissions Details
Request Type GET
URL https://auth.reltio.com/oauth
Parameters -
Access -

Response

Returns all the users from the system based on the particular user access level

Getting User Details

Request

GET https://auth.reltio.com/oauth/users
Headers: Authorization: Bearer <Access-Token>

Response

[{
    "customer": "TestCustomer",
    "username": "john@testcust.com",
    "email": "john@testcust.com",
    "entity": null,
    "externalTokens": [],
    "tenants": [
        "t1", "t2"
    ],
    "enabled": true,
    "accountNonExpired": true,
    "credentialsNonExpired": true,
    "accountNonLocked": true,
    "roles": [
        "ROLE_API",
        "ROLE_SYNC",
        "ROLE_USER",
        "ROLE_TEST_USER"
    ],
    "externalUser": false,
    "locale": "en",
    "timezone": "UTC",
    "userPermissions": {
        "roles": {
            "ROLE_API": ["t1"],
            "ROLE_SYNC": ["t1"],
            "ROLE_USER": ["t1"],
            "ROLE_TEST_USER": [
                "t1", "t2"
            ]
        },
        "permissions": {},
        "permissionsByService": {}
    },
    "groups": [],
    "lastLoginDate": 1525873241606,
    "numberFailedLoginAttempts": 0
}]