Skip to content

Update

PATCH

/:tenantId/patient-groups/:id

Body

json
{
  "name": "Updated group name"
}
NameTypeRequiredDescription
namestringyesName 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."
        ]
    }
}