delete_tenant
Disable the tenant and keep its data (default), or with purge=true delete all of it. Cost class: write.
A disabled tenant is re-enabled with PUT and disabled: false. A purge cannot be undone: the tenant is disabled at once, its jobs are cancelled, and every workspace, file, result, cache entry and key is deleted. Only the content-free billing record (job ids, kinds, timestamps, units, credits) is kept. A purge already queued or running is returned as is; one that failed or ended unverified is started again. Once a purge has verified clean the external_ref no longer resolves, so a repeat of this call answers tenant_not_found and a later PUT creates a new, empty tenant.
Request
- Base URLhttps://ndi-api.nace.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The partner's own reference for the tenant, such as its account id.
Query parameters
True permanently deletes the tenant's data instead of disabling it. Answers 202 with a tenant_purge job to poll on GET /v1/jobs/{job_id} without X-NDI-Tenant.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.