PUT
/
timmi-project
/
api
/
v4
/
clients
/
{id}
curl --request PUT \
  --url https://{host}/timmi-project/api/v4/clients/{id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "code": "<string>",
  "externalCode": null,
  "ownerId": null,
  "organizationId": 123
}'
{
  "id": 123,
  "name": "<string>",
  "code": "<string>",
  "externalCode": null,
  "owner": null
}

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
integer
required

Identifier of the client.

Body

application/json

A client must belong to a single organization.

The organizationId field is required upon creation (POST) and cannot be modified later.

Response

200
application/json
OK

A client must belong to a single organization.

The organizationId field is required upon creation (POST) and cannot be modified later.