Get organizations a user has access to
GET {{baseUrl}}/users/:id/organizations?number=0&size=10
Get organizations a user has access to
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
number | number | Index of page to be returned. Number of available pages is returned in response body property page.totalPages. | |
size | number | Specifies the number of elements in a page. Maximum number of resources to be returned per page. The service might return less resources. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-None-Match | string | Specifies the ETag of the resource | |
Accept | string |
RESPONSES
status: OK
{"organizations":[{"id":"a1b2c3d4","name":"Carrots Inc"},{"id":"a1b2c3d4","name":"Carrots Inc"}],"meta":{"page":{"totalPages":15865815,"number":73881020,"size":77430629,"elements":89943153,"totalElements":40467386}}}