List all external users

GET {{baseUrl}}/external-users?organizationId=<string>&userId=<string>&number=0&size=10&filter=<string>&sort=<string>

List all external users

Request Params

KeyDatatypeRequiredDescription
organizationIdstring(Required) Specifies the ID of the organization
userIdstringSpecifies the ID 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;
}

| | sort | string | | Specifies the fields to sort the results by.

Ex: GET /resources?sort=-color,+name : Sorts the results based on descending color order and ascending name order. |

HEADERS

KeyDatatypeRequiredDescription
If-None-MatchstringSpecifies the ETag of the resource
Acceptstring

RESPONSES

status: OK

{&quot;externalUsers&quot;:[{&quot;id&quot;:&quot;a1b2c3d4&quot;,&quot;organizationId&quot;:&quot;a1b2c3d4&quot;,&quot;organizationName&quot;:&quot;Carrots Inc&quot;,&quot;referredUser&quot;:{&quot;userId&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;email&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;status&quot;:&quot;ADMITTED&quot;,&quot;referredAt&quot;:&quot;2021-08-25T08:55:18.687Z&quot;,&quot;referrerUser&quot;:{&quot;userId&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;email&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;reviewerUser&quot;:{&quot;userId&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;email&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;referrerComment&quot;:&quot;A technician for robot arms&quot;,&quot;reviewerComment&quot;:&quot;We no longer require the user in our organization&quot;,&quot;reviewedAt&quot;:&quot;2021-08-25T08:55:18.687Z&quot;,&quot;meta&quot;:{&quot;version&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}},{&quot;id&quot;:&quot;a1b2c3d4&quot;,&quot;organizationId&quot;:&quot;a1b2c3d4&quot;,&quot;organizationName&quot;:&quot;Carrots Inc&quot;,&quot;referredUser&quot;:{&quot;userId&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;email&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;status&quot;:&quot;ADMITTED&quot;,&quot;referredAt&quot;:&quot;2021-08-25T08:55:18.687Z&quot;,&quot;referrerUser&quot;:{&quot;userId&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;email&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;reviewerUser&quot;:{&quot;userId&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;email&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;referrerComment&quot;:&quot;A technician for robot arms&quot;,&quot;reviewerComment&quot;:&quot;We no longer require the user in our organization&quot;,&quot;reviewedAt&quot;:&quot;2021-08-25T08:55:18.687Z&quot;,&quot;meta&quot;:{&quot;version&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;:63075464,&quot;number&quot;:84100660,&quot;size&quot;:28291043,&quot;elements&quot;:-58846699,&quot;totalElements&quot;:85925252}}}