List owners of an organization

GET {{baseUrl}}/organizations/:id/owners?number=0&size=10&filter=<string>&sort=<string>

List owners of an organization

Request Params

KeyDatatypeRequiredDescription
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;owners&quot;:[{&quot;userId&quot;:&quot;a1b2c3d4&quot;,&quot;email&quot;:&quot;john_doe@server.org&quot;,&quot;firstname&quot;:&quot;john&quot;,&quot;lastname&quot;:&quot;doe&quot;,&quot;country&quot;:{&quot;alpha2Code&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;name&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;company&quot;:&quot;Siemens AG&quot;,&quot;type&quot;:&quot;INTERNAL&quot;,&quot;creationTime&quot;:&quot;2021-08-25T08:55:18.687Z&quot;,&quot;deletionTime&quot;:&quot;2021-08-25T08:55:18.687Z&quot;},{&quot;userId&quot;:&quot;a1b2c3d4&quot;,&quot;email&quot;:&quot;john_doe@server.org&quot;,&quot;firstname&quot;:&quot;john&quot;,&quot;lastname&quot;:&quot;doe&quot;,&quot;country&quot;:{&quot;alpha2Code&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;name&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;company&quot;:&quot;Siemens AG&quot;,&quot;type&quot;:&quot;INTERNAL&quot;,&quot;creationTime&quot;:&quot;2021-08-25T08:55:18.687Z&quot;,&quot;deletionTime&quot;:&quot;2021-08-25T08:55:18.687Z&quot;}],&quot;meta&quot;:{&quot;page&quot;:{&quot;totalPages&quot;:-11570863,&quot;number&quot;:-1298156,&quot;size&quot;:-64074274,&quot;elements&quot;:51266188,&quot;totalElements&quot;:-16481313}}}