delete #
Deletes a tenant.
Profile still assigned to users will not be deleted.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/multi-tenancy/tenants/:group/:name
Method: DELETE
Other protocols #
{
"controller": "multi-tenancy/tenant",
"action": "delete",
"group": "teacher",
"name": "liia"
}
Arguments #
group
: Tenant groupname
: Tenant name
Response #
Returns an object containing the following properties:
index
: name of the deleted indexprofiles
: list of deleted profiles
{
"status": 200,
"error": null,
"action": "delete",
"controller": "multi-tenancy/tenant",
"requestId": "<unique request identifier>",
"result": {
"index": "tenant-teacher-liia",
"profiles": ["admin", "user", "moderator"]
}
}
Edit this page on Github(opens new window)