Update Cohort
Cohort
Update Cohort
Updates the details of an existing cohort (name, description, color).
PATCH
Update Cohort
For more information, see the guide about Cohorts
In this example, only the
This removes the description and leaves the rest of the details the same.
Path Params
The ID of the cohort to update.
Headers
The ETag value for optimistic concurrency control. If
provided, the update will only succeed if the current ETag
matches this value.
Body
All fields are optional for updates. The API performs partial updates:- Omitted fields remain unchanged - only include fields you want to modify
- To update a field - simply include the new value
The name of the cohort. The name must be unique within your organization.
The color associated with the cohort. Must be one of:
red, green, blue, yellow, purple, orange, pink, brown, gray, black, white. Defaults to white on creation if no color is given.A description of the cohort and its purpose.
Examples
Partial update example:name field is updated. All other fields remain unchanged.
Clearing fields example:
Response
The unique identifier for the cohort (UUID format, e.g.,
00000000-0000-0000-0000-000000000000).The entity tag for optimistic concurrency control.
The unique name of the cohort within your organization.
The description of the cohort.
The color associated with the cohort.
Configuration settings for the cohort.
The number of patients assigned to this cohort.

