Appointments
Remove Custom Biomarkers
Remove individual biomarkers from an appointment
DELETE
Remove one or more individual biomarkers from an appointment under a chosen custom container panel.
When the chosen panel routes exclusively to a single lab —
Aniva Custom ZotzKlimas (ZK) or
Aniva Custom Labclinic (LC) — the server validates that the post-removal biomarker set
remains orderable at that lab as a coherent combination. Removing a biomarker that would
leave an incoherent residual order (e.g. dropping LDL while keeping LDL/HDL Ratio) is
rejected with 400 and a multi-candidate explanation listing the missing biomarkers per
orderable option (see the example 400 responses below).
Every ID in biomarker_ids must currently be attached to the appointment — otherwise the request returns 404.
Request
Path parameters
Unique identifier (UUID) of the appointment.
Body parameters
UUID of the
is_custom=true panel to remove biomarkers from. Must match the panel you used when
adding them. Must be a custom panel reachable via your API key.Array of biomarker IDs to detach. Must contain at least one item, and every ID must currently be
on the appointment.
Response
true when the biomarkers have been successfully removed.Error responses
| Status | Description |
|---|---|
400 | Validation error — panel_id missing, or the lab’s order-requirements validator (ZK or LC) rejected the post-removal set. |
403 | Forbidden — missing scope, appointment outside access context, or the requested custom panel is not reachable. |
404 | Appointment not found, or one or more biomarkers not associated with the appointment. |
409 | Conflict — biomarkers cannot be modified after the blood draw has been confirmed. |
500 | Internal server error. |