Get Users of a Customer

The Get Users of a Customer API request all the users belonging to the specific customer. Only Customer Administrators can use this API.

Table 1. Users Details
Request Type GET
URL {oauth_uri}/users/{userName}
Parameters CustomerId: Valid Customer ID.
Access -

Response

Returns an array of user objects.

Getting User Details

Request

GET {oauth_uri}/customers/TestCustomer/users
Headers: Authorization: Bearer <Access-Token> 
            

Response

[
    {
        "customer": "LocalTestOkta",
        "username": "user1536216113",
        "email": "user1536216113@reltio.com",
        "entity": null,
        "externalTokens": [],
        "tenants": [],
        "enabled": true,
        "accountNonExpired": true,
        "credentialsNonExpired": true,
        "accountNonLocked": true,
        "roles": [
            "ROLE_API",
            "ROLE_SYNC",
            "ROLE_USER"
        ],
        "externalUser": false,
        "locale": "en",
        "timezone": "UTC",
        "groups": []
    },
    {
        "customer": "LocalTestOkta",
        "username": "user1536216109",
        "email": "user1536216109@reltio.com",
        "entity": null,
        "externalTokens": [],
        "tenants": [],
        "enabled": true,
        "accountNonExpired": true,
        "credentialsNonExpired": true,
        "accountNonLocked": true,
        "roles": [
            "ROLE_API",
            "ROLE_SYNC",
            "ROLE_USER"
        ],
        "externalUser": false,
        "locale": "en",
        "timezone": "UTC",
        "groups": []
    }
]