Update a client

POST https://api.tamio.com/v2/clients/update/{uuid}

Updates an existing client's information including name, country, quotas, and permissions. At least one field besides uuid must be provided.

Path Parameters

uuid string*

UUID of the client to update

Body Parameters

name string

Full name of the client/company

country string

Two-letter country code

permissions object

Detailed permissions matrix controlling access to various system features. Each feature area is an object with boolean permission flags (view, edit, create, remove, publish).

quotas object

Resource usage limits for the client account

Responses

200 Client updated successfully

Client updated successfully

status integer
client Client
400 Validation or business-logic error. Possible `error_code` values:
401 Unauthorized – invalid or missing Bearer token
/clients/update/{uuid}
1const response = await fetch("https://api.tamio.com/v2/clients/update/{uuid}", {
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,
  "client": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "object": "client",
    "customer_id": "660e8400-e29b-41d4-a716-446655440000",
    "email": "contact@acmecorp.com",
    "telephone": "+49123456789",
    "name": "Acme Corp",
    "country": "de",
    "locale": "en",
    "status": "active",
    "is_demo": false,
    "is_suspended": false,
    "is_translator": false,
    "is_agency": false,
    "registration_date": 1700000000,
    "admin": {},
    "business_information": {},
    "billing_plan": {},
    "quotas": {},
    "permissions": {}
  }
}