---
title: "Update a client"
method: PATCH
path: "/v1/clients/{id}"
tags: ["Clients"]
---

# Update a client

`PATCH /v1/clients/{id}`

## Request

- Base URL: `https://api.merlonix.com`
- URL: `https://api.merlonix.com/v1/clients/{id}`
- Auth: HTTP bearer

Update mutable fields of a client (name, slug, logo, brand color). Requires a `write`-scoped key. The catch-all Unassigned bucket cannot be edited (`403`).

## Path parameters

- `id` string, uuid, required

## Request body

- ClientUpdate: Request body for updating a client (all fields optional; TD-943).
  - `name` string
  - `slug` string
  - `logo_url` string, uri, nullable
  - `brand_color` string, nullable

## Response `200`

The updated client.

- Client
  - `id` string, uuid, required
  - `tenant_id` string, uuid, required
  - `slug` string, required
  - `name` string, required
  - `logo_url` string, nullable, required
  - `brand_color` string, nullable, required
  - `is_unassigned` boolean, required: True for the catch-all Unassigned bucket.
  - `asset_count` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Error — canonical envelope with a trace_id.
- `401`: Error — canonical envelope with a trace_id.
- `403`: Error — canonical envelope with a trace_id.
- `404`: Error — canonical envelope with a trace_id.
- `409`: Error — canonical envelope with a trace_id.
- `429`: Error — canonical envelope with a trace_id.

---

[API](https://skmtc.dev/merlonix/apis/merlonix-public-api.md) · [All operations](https://skmtc.dev/merlonix/apis/merlonix-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/merlonix/apis/merlonix-public-api/revisions/2192584bdfcd?raw)
