Skip to main content
GET
/
tenant
/
count
Get Tenant Count
curl --request GET \
  --url http://{host}:{port}/{contextPath}/tenant/count \
  --header 'Authorization: Basic <encoded-value>'
{
  "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.

Query Parameters

id
string

Filter by the id of the tenant.

name
string

Filter by the name of the tenant.

nameLike
string

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

userMember
string

Select only tenants where the given user is a member of.

groupMember
string

Select only tenants where the given group is a member of.

includingGroupsOfUser
boolean

Select only tenants where the user or one of his groups is a member of. Can only be used in combination with the userMember parameter. Value may only be true, as false is the default behavior.

Response

Request successful.

count
integer<int64>

The number of matching instances.