listProfiles #
Lists available tenant's profiles
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/multi-tenancy/tenants/:group/:name/_profiles
Method: GET
Other protocols #
{
"controller": "multi-tenancy/tenant",
"action": "listProfiles",
"group":"{tenantGroup}",
"name":"{tenantName}",
}
Arguments #
group
: Tenant groupname
: Tenant name
Response #
Returns a string
array of the profiles'names.
{
"status": 200,
"error": null,
"action": "listProfiles",
"controller": "multi-tenancy/tenant",
"requestId": "<unique request identifier>",
"result": {
"profiles": ["tenant_admin", "tenan_reader"]
}
}
Edit this page on Github(opens new window)