exists #
Returns true if the tenant exists
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/multi-tenancy/tenants/:group/:name
Method: GET
Other protocols #
{
"controller": "multi-tenancy/tenant",
"action": "exists",
"group": "teacher",
"name": "liia"
}
Arguments #
group
: Tenant groupname
: Tenant name
Response #
Returns an object containing the following properties:
index
: name of the existing indexprofiles
: list of existing profilescollections
: list of existing collections
{
"status": 200,
"error": null,
"action": "exists",
"controller": "multi-tenancy/tenant",
"requestId": "<unique request identifier>",
"result": {
"exists": true
}
}
Edit this page on Github(opens new window)