List all users

GET {{baseUrl}}/users?organizationId=<string>&email=<string>&number=0&size=10&filter=<string>

Lists all users

Request Params

KeyDatatypeRequiredDescription
organizationIdstring(Required) Specifies the ID of the organization
emailstringSpecifies the email of the relevant user
numbernumberIndex of page to be returned. Number of available pages is returned in response body property page.totalPages.
sizenumberSpecifies the number of elements in a page. Maximum number of resources to be returned per page. The service might return less resources.
filterstringJSON string allowing to filter for the following optional fields and operations.

JSON string can contain following fields:

  • id E.g.: {"id":275}
  • name E.g.: {"name":"CISCO"}
  • parentId E.g.: {"parentId":263}

In the following, an unencoded example filter value is shown, to return the connector instances for given asset and parameters.

{ 
  &quot;name&quot;:&quot;CISCO&quot;
}

|

HEADERS

KeyDatatypeRequiredDescription
If-None-MatchstringSpecifies the ETag of the resource
x-user-rolestring(Required) Specifies the user role with which the user intends to perform the operation
Acceptstring

RESPONSES

status: OK

{&quot;users&quot;:[{&quot;account&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;email&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;id&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;organizationId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;tenantId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;firstname&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;lastname&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;country&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;company&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;meta&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;account&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;email&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;id&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;organizationId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;tenantId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;firstname&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;lastname&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;country&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;company&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;meta&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;meta&quot;:{&quot;page&quot;:{&quot;totalPages&quot;:-84947498,&quot;number&quot;:12466252,&quot;size&quot;:-60534302,&quot;elements&quot;:-46714189,&quot;totalElements&quot;:-10406069}}}