Skip to main content
DELETE
Remove Patients from Cohort
For more information, see the guide about Cohorts

Path Params

id
string
required
The ID of the cohort to remove patients from.

Body

You must provide either patientIds or allPatients, but not both.
patientIds
string[]
Array of patient IDs to remove from the cohort. Mutually exclusive with the allPatients property.
allPatients
boolean
Property to confirm you want to remove all patients in your metriport instance from the cohort. Mutually exclusive with the patientIds array.

Response

message
string
required
Confirmation message indicating the operation was successful.
cohort
Cohort
required
The cohort details.