API docs / API reference / Clients
Update a client
PATCH /v1/clients/{client_id}
Path parameters
| client_id required string | — |
Body
| name string | — |
| external_ref string | — |
| metadata object | — |
Request
curl -X PATCH "https://amarkos.com/api/v1/clients/{client_id}" \
-H "Authorization: Bearer $AMARKOS_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Tools Ltd"
}'Response · 200
{
"id": "cl_8a1b2c3d4e5f40a1b2c3d4e5f6a7b8c9",
"name": "Acme Tools Ltd"
}