Skip to main content
GET
/
group
Get List
curl --request GET \
  --url http://{host}:{port}/{contextPath}/group \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "id": "sales",
    "name": "Sales",
    "type": "Organizational Unit"
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

sortBy
enum<string>

Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter.

Available options:
id,
name,
type
sortOrder
enum<string>

Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter.

Available options:
asc,
desc
firstResult
integer

Pagination of results. Specifies the index of the first result to return.

maxResults
integer

Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left.

id
string

Filter by the id of the group.

idIn
string

Filter by a comma seperated list of group ids.

name
string

Filter by the name of the group.

nameLike
string

Filter by the name that the parameter is a substring of.

type
string

Filter by the type of the group.

member
string

Only retrieve groups where the given user id is a member of.

memberOfTenant
string

Only retrieve groups which are members of the given tenant.

Response

Request successful.

id
string | null

The id of the group.

name
string | null

The name of the group.

type
string | null

The type of the group.