Delete tenant
/tenant/{id}
Path Parameters
The tenant id.
acme-corpQuery Parameters
Required for session auth. Ignored for API tokens.
8a2b104d-74a6-47f2-b93e-c6b611e82391Response Body
The date and time when the tenant was created.
2026-07-02T09:14:03.117ZThe environment this tenant belongs to.
8a2b104d-74a6-47f2-b93e-c6b611e82391The tenant identifier — caller-chosen, URL-path-safe, and immutable once created. Composite primary key with environment_id, so the same value can exist independently in development, staging, and production. Must match ^[A-Za-z0-9._:@+-]{1,255}$.
acme-corpFree-form JSON object stored verbatim. Truto does not interpret this field — use it for tier, region, billing plan, or any other customer attribute your app cares about.
{"tier":"gold","region":"wnam"}Display name shown in the dashboard. Defaults to the tenant id on create if not supplied; can be edited later via PATCH /tenant/{id}.
Acme CorpThe date and time when the tenant was last updated.
2026-07-02T09:14:03.117Zcurl -X DELETE 'https://api.truto.one/tenant/{id}' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/tenant/{id}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/tenant/{id}"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.delete(url, headers=headers, params=params)
print(response.json())