Official Plugins (Kuzzle v2.x)
multi-tenancy v1.x
2

exists #

Returns true if the tenant exists


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/_/multi-tenancy/tenants/:group/:name
Method: GET

Other protocols #

Copied to clipboard!
{
  "controller": "multi-tenancy/tenant",
  "action": "exists",

  "group": "teacher",
  "name": "liia"
}

Arguments #

  • group: Tenant group
  • name: Tenant name

Response #

Returns an object containing the following properties:

  • index: name of the existing index
  • profiles: list of existing profiles
  • collections: list of existing collections
Copied to clipboard!
{
  "status": 200,
  "error": null,
  "action": "exists",
  "controller": "multi-tenancy/tenant",
  "requestId": "<unique request identifier>",
  "result": {
    "exists": true
  }
}