Delete symptom (erases the entry)
delete_symptomErase a symptom entry logged by mistake, such as a duplicate or wrong person. Use only for entries that should never exist; record ended symptoms with update_symptom.
Instructions
Erase one reported symptom that was logged by mistake (agent write).
Only for an entry that should never have existed — a duplicate, the wrong
person, a symptom they did not have. A symptom that simply ended is NOT
deleted: record its end with update_symptom(entry_id, end_at=…).
It disappears from get_symptoms at once, and from the app and every
other reader once the person's iPhone next syncs (it then overwrites the
entry's own copy in the cloud, and from app 1.3.0 removes the copies
earlier update_symptom calls left; an older app leaves those sealed
there, readable only by the person and the server that wrote them). The
result carries deleted_entry — the
full entry as it was — so a mistaken delete can be logged again with
log_symptom. Symptoms imported from Apple Health cannot be deleted here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||