Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ivory.finance/llms.txt

Use this file to discover all available pages before exploring further.

Overview

DELETE /v1/admin/tenants/{slug} sets is_active = FALSE and provisioning_state = 'deprovisioned' on the tenant row. TenantMiddleware stops routing requests for the tenant immediately (Valkey cache is invalidated as part of the operation).
This is a soft deactivation — no data is deleted. The tenant environment, graph, and search index are left intact. To fully deprovision, delete those resources manually.
This endpoint is restricted to the admin Kong consumer via ACL.

Path parameters

slug
string
required
The tenant slug to deactivate (e.g. acme-bank).

Response

Returns 204 No Content on success.

Examples

curl -X DELETE https://api.ivory.finance/v1/admin/tenants/acme-bank \
  -H "X-API-Key: YOUR_ADMIN_KEY"

Error responses

CodeReason
404No tenant found with that slug