email_image_delete_apply
Delete one uploaded email image file by its URL in the Email app (pApp F00003). Requires confirmation DELETE_EMAIL_IMAGE. Remove the image from the body first. Irreversible. A lost receipt stays pending and is never resent; task_resume only observes, and prepared work needs the identical apply. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.
Inputs
| Field | Required here | Contract |
|---|---|---|
target |
Yes | object |
target.emailId |
Yes | string; pattern ^[A-Za-z0-9_-]{1,200}$; Exact email identifier returned by email_drafts_get. |
target.url |
Yes | string; format uri; Exact image URL returned by email_image_upload_apply for this email. |
change |
Yes | object |
change.action |
Yes | delete |
change.confirmation |
Yes | DELETE_EMAIL_IMAGE |
confirmToken |
No | string; pattern ^ct[a-f\d]{32}$; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute. |