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"]
}
}
Edit this page on Github(opens new window)