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

removeProfiles #

Removes profiles from a tenant.


Query Syntax #

HTTP #

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

Other protocols #

Copied to clipboard!
{
  "controller": "multi-tenancy/tenant",
  "action": "delete",
  "group": "{tenantGroup}",
  "name": "{tenantName}"
}

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
Copied to clipboard!
{
  "status": 200,
  "error": null,
  "action": "removeProfiles",
  "controller": "multi-tenancy/tenant",
  "requestId": "<unique request identifier>",
}