List of users of a tenant.

GET {{baseUrl}}/Users?filter=<string>&attributes=<string>&sortBy=<string>&sortOrder=ascending&count=100&startIndex=1&subtenant=<string>

List of users of a tenant. Please note, in order to request only the list of users (without the information to which group a user belongs) it is recommended to make use of the attributes query parameter as follows /Users?attributes=userName,name,meta (this will significantly improve the performance over simply calling /Users).

Request Params

KeyDatatypeRequiredDescription
filterstring"SCIM filter for searching see here. The available filter attributes are: id, username, email or emails.value, givenname, familyname, active, phonenumber, verified, origin, created or meta.created, lastmodified or meta.lastmodified, version or meta.version, groups.display.
</br>
<b>Note</b>: <i>groups.display</i> parameter cannot be used in complex filter expression and only <i>eq</i> operator is allowed eg. <i>filter=groups.display eq "MyGroupName"</i>
attributesstringComma separated list of attribute names to be returned, e.g., userName, name, meta. The attributes parameters does not support the parameter "subtenants".
sortBystringSorting field name, like email or id
sortOrderstringSort order, ascending/descending (defaults to ascending)
countnumberNumber of objects to be returned (defaults to 100)
startIndexnumberThe starting index of the search results when paginated. Index starts with 1 (defaults to 1).
subtenantstringFilter for subtenant users

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;itemsPerPage&quot;:100,&quot;resources&quot;:[{&quot;schemas&quot;:[&quot;urn:scim:schemas:core:1.0&quot;,&quot;urn:scim:schemas:core:1.0&quot;],&quot;id&quot;:&quot;2f95913-d3d9-4a4a-951a-c21184080cf3&quot;,&quot;userName&quot;:&quot;johndoe@example.com&quot;,&quot;name&quot;:{&quot;familyName&quot;:&quot;Doe&quot;,&quot;givenName&quot;:&quot;John&quot;},&quot;groups&quot;:[{&quot;display&quot;:&quot;mdsp:core:StandardUser&quot;,&quot;type&quot;:&quot;DIRECT&quot;,&quot;value&quot;:&quot;85300c9f-9616-4596-ac1c-1ca837426d7e&quot;},{&quot;display&quot;:&quot;mdsp:core:StandardUser&quot;,&quot;type&quot;:&quot;DIRECT&quot;,&quot;value&quot;:&quot;85300c9f-9616-4596-ac1c-1ca837426d7e&quot;}],&quot;emails&quot;:[{&quot;value&quot;:&quot;johndoe@example.com&quot;},{&quot;value&quot;:&quot;johndoe@example.com&quot;}],&quot;active&quot;:false,&quot;meta&quot;:{&quot;created&quot;:&quot;2018-02-08T15:20:43.000Z&quot;,&quot;lastModified&quot;:&quot;2018-02-08T15:20:43.000Z&quot;,&quot;version&quot;:0},&quot;subtenants&quot;:[{&quot;id&quot;:&quot;octopus&quot;},{&quot;id&quot;:&quot;octopus&quot;}]},{&quot;schemas&quot;:[&quot;urn:scim:schemas:core:1.0&quot;,&quot;urn:scim:schemas:core:1.0&quot;],&quot;id&quot;:&quot;2f95913-d3d9-4a4a-951a-c21184080cf3&quot;,&quot;userName&quot;:&quot;johndoe@example.com&quot;,&quot;name&quot;:{&quot;familyName&quot;:&quot;Doe&quot;,&quot;givenName&quot;:&quot;John&quot;},&quot;groups&quot;:[{&quot;display&quot;:&quot;mdsp:core:StandardUser&quot;,&quot;type&quot;:&quot;DIRECT&quot;,&quot;value&quot;:&quot;85300c9f-9616-4596-ac1c-1ca837426d7e&quot;},{&quot;display&quot;:&quot;mdsp:core:StandardUser&quot;,&quot;type&quot;:&quot;DIRECT&quot;,&quot;value&quot;:&quot;85300c9f-9616-4596-ac1c-1ca837426d7e&quot;}],&quot;emails&quot;:[{&quot;value&quot;:&quot;johndoe@example.com&quot;},{&quot;value&quot;:&quot;johndoe@example.com&quot;}],&quot;active&quot;:true,&quot;meta&quot;:{&quot;created&quot;:&quot;2018-02-08T15:20:43.000Z&quot;,&quot;lastModified&quot;:&quot;2018-02-08T15:20:43.000Z&quot;,&quot;version&quot;:0},&quot;subtenants&quot;:[{&quot;id&quot;:&quot;octopus&quot;},{&quot;id&quot;:&quot;octopus&quot;}]}],&quot;schemas&quot;:[&quot;elit al&quot;,&quot;dolore laboris&quot;],&quot;startIndex&quot;:1,&quot;totalResults&quot;:1}