Avisi cloud logo
Memberships

List members inside an organisation.

GET
/api/v1/memberships

Query Parameters

pageable
Required
object

Optional. When omitted: pageSize=50, pageNumber=0, sortDirection=ASC

curl -X GET "http://localhost:8090/api/v1/memberships?pageable=%7B%0A++%22page%22%3A+0%2C%0A++%22size%22%3A+1%2C%0A++%22sort%22%3A+%5B%0A++++%22string%22%0A++%5D%0A%7D"

Request was successfully processed. The response body contains the requested data.

{
  "totalPages": 0,
  "totalElements": 0,
  "first": true,
  "last": true,
  "size": 0,
  "content": [
    {
      "identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
      "organisationIdentity": "77706b82-0b00-4f1a-ac30-6876f93a34aa",
      "memberIdentity": "c096b660-64e1-4a6d-94c8-298e866b3d9a",
      "name": "string",
      "role": "admin",
      "kubernetesRole": "string",
      "slug": {
        "slugValue": "string"
      },
      "email": {
        "email": "string"
      }
    }
  ],
  "number": 0,
  "sort": {
    "empty": true,
    "unsorted": true,
    "sorted": true
  },
  "pageable": {
    "offset": 0,
    "sort": {
      "empty": true,
      "unsorted": true,
      "sorted": true
    },
    "paged": true,
    "pageNumber": 0,
    "pageSize": 0,
    "unpaged": true
  },
  "numberOfElements": 0,
  "empty": true
}