Bulk delete clients

POST https://api.tamio.com/v2/clients/bulk/delete

Deletes multiple client accounts in a single request. Each client is soft-deleted (marked as pending deletion and suspended). If any client has an active subscription or is not found, the operation fails for that client.

Body Parameters

clients array of string*

Array of client UUIDs to delete

Responses

200 All clients deleted successfully

All clients deleted successfully

status integer
400 Validation or business-logic error. Possible `error_code` values:
401 Unauthorized – invalid or missing Bearer token
/clients/bulk/delete
1const response = await fetch("https://api.tamio.com/v2/clients/bulk/delete", {
2 method: "POST",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 // ... request body
9 })
10});
11const data = await response.json();
Responses
{
  "status": 200
}