Official Plugins (Kuzzle v2.x)
Multi Tenancy v1.x
2

listGroups #

Lists available tenant's groups


Query Syntax #

HTTP #

URL: http://kuzzle:7512/_/multi-tenancy/tenants/_groups
Method: GET

Other protocols #

{
  "controller": "multi-tenancy/tenant",
  "action": "listGroups",
}


Response #

Returns a groups array.

{
  "status": 200,
  "error": null,
  "action": "listGroups",
  "controller": "multi-tenancy/tenant",
  "requestId": "<unique request identifier>",
  "result": {
    "groups": ["teacher", "student"]
  }
}