ofw_delete_draft
Delete a draft message from OurFamilyWizard, with safeguards to prevent accidental overwriting of recent changes; use force to override.
Instructions
Delete a draft message from OurFamilyWizard. Also removes the draft from the local cache. Before deleting, the draft is re-read from OFW and the delete is REFUSED if it changed since you last read it (the current server body is returned so nothing is lost) — pass expectedRevision to assert which version you mean, or force:true to delete regardless.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Default false. Delete even if the draft changed on OurFamilyWizard since you read it. The discarded server version is echoed back in the response. | |
| messageId | Yes | Draft message ID to delete | |
| expectedRevision | No | The `revision` you got from ofw_list_drafts/ofw_get_message. Asserts you are deleting THAT version; if the draft changed on OFW since, the delete is refused and the current server body returned. |