Skip to main content
POST
/
group
/
count
Get List Count (POST)
curl --request POST \
  --url http://{host}:{port}/{contextPath}/group/count \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Sales"
}'
{
  "count": 1
}

Authorizations

Authorization
string
header
required

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

Body

application/json

A group instance query which defines a list of group instances

id
string | null

Filter by the id of the group.

idIn
string[] | null

Filter by a JSON string array of group ids.

name
string | null

Filter by the name of the group.

nameLike
string | null

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

type
string | null

Filter by the type of the group.

member
string | null

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

memberOfTenant
string | null

Only retrieve groups which are members of the given tenant.

sorting
object[] | null

Apply sorting of the result

Response

Request successful.

count
integer

The number of matching instances.