API reference
PUTRequires Bearer token
Update a client
/api/clients/update/{client}
All fields optional. Email unique per company excluding the current row.
Path parameters
| Field | Type | Description |
|---|---|---|
client Required | string | Path parameter client. |
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
name | string | Last name. |
firstname | string | First name. |
cni_number | string | ID document number. |
phone | string | Phone. |
email | string | Email (unique per company). |
motif_demande | string | Request reason. |
Responses
| Status | Meaning |
|---|---|
| 200 | Updated |
| 401 | Missing or invalid Bearer token. |