> ## Documentation Index
> Fetch the complete documentation index at: https://docs.knoxcall.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Client

> Updates one or more fields on an existing client

## Update Client

```text theme={"dark"}
PATCH /v1/clients/:id
```

Updates one or more fields on an existing client.

### Path Parameters

| Parameter | Type | Description   |
| --------- | ---- | ------------- |
| `id`      | uuid | The client ID |

### Request Body

All fields are optional. Only provided fields will be updated.

| Field         | Type    | Description                     |
| ------------- | ------- | ------------------------------- |
| `name`        | string  | Display name                    |
| `type`        | string  | Client type: `user` or `server` |
| `ip_address`  | string  | IP address or CIDR range        |
| `ip_notes`    | object  | IP metadata                     |
| `description` | string  | Description                     |
| `enabled`     | boolean | Enable or disable the client    |

### Response

Returns the updated client object.

### Errors

| Status | Type               | Description                              |
| ------ | ------------------ | ---------------------------------------- |
| 400    | `validation_error` | No valid fields provided or invalid type |
| 404    | `not_found`        | Client not found                         |
