Create
POST
/:tenantId/patient-groupsBody
json
{
"name": "VIP Patients"
}| Name | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Name of the patient group |
Response
HTTP 201 Created
json
{
"data": {
"id": 105,
"name": "VIP Patients",
"patients_count": 0
}
}HTTP 422 Unprocessable Content
json
{
"message": "The name field is required.",
"errors": {
"name": [
"The name field is required."
]
}
}