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

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 group
  • name: Tenant name

Response #

Returns an object containing the following properties:

  • index: name of the deleted index
  • profiles: 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"]
  }
}