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

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 group
  • name: 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"]
  }
}