Update
PATCH
/:tenantId/patient-groups/:idBody
json
{
"name": "Updated group name"
}| Name | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Name of the patient group |
Response
HTTP 200 OK
json
{
"data": {
"id": 5,
"name": "Updated group name",
"patients_count": 0
}
}HTTP 422 Unprocessable Content
json
{
"message": "The name field must be a string.",
"errors": {
"name": [
"The name field must be a string."
]
}
}