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

delete #

Deletes a soft-tenant.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/_/multi-tenancy/tenant/:tenantId/soft-tenants/:_id
Method: DELETE

Other protocols #

{
  "controller": "multi-tenancy/soft-tenant",
  "action": "delete",
  "_id": "",
}

Arguments #

  • _id: Soft tenant ID

Response #

Returns an object containing the following properties:

  • _id: Deleted soft tenant ID
{
  "status": 200,
  "error": null,
  "action": "delete",
  "controller": "multi-tenancy/soft-tenant",
  "requestId": "<unique request identifier>",
  "result": {
    "_id":"string"
  }
}