listProfiles #
Lists available profiles for a group of tenant.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/multi-tenancy/tenant/:tenantId/_listProfiles
Method: GET
Other protocols #
{
"controller": "multi-tenancy/user",
"action": "listProfiles",
"tenantGroup": "teacher"
"tenantId": "<tenant ID>",
}
Arguments #
tenantGroup
: Tenant grouptenantId
: Tenant ID
Response #
Returns an array containing the available profiles for this group of tenant.
{
"status": 200,
"error": null,
"action": "add",
"controller": "multi-tenancy/user",
"requestId": "<unique request identifier>",
"result": {
"profiles": ["admin", "users", "moderator"]
}
}
Edit this page on Github(opens new window)