You're viewing version 3.8 of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
Delete Tenant API
Introduced 1.0
Deletes the specified tenant.
Endpoints
DELETE /_plugins/_security/api/tenants/{tenant}
Example request
DELETE _plugins/_security/api/tenants/test-tenant
Example response
{
"status": "OK",
"message": "'test-tenant' deleted."
}