Delete Media is a Step (action) in Media. Deletes one or more image/video files under /images.
Delete Media is a Step (action) in Media. Deletes one or more image/video files under /images.
When the flow reaches this step, JOrchestrator executes Delete Media against your linked site or an external integration, using the field values you set on General and Design. Downstream steps can read the output payload fields defined for this node.
Delete Media is a action step in the Media group. Action steps run in the middle or end of a flow. They perform work on your CMS, call external services, or transform data for the next step.
Typical reasons teams add Delete Media to a flow:
Common patterns on the canvas:
Single path or multiple paths; confirm deletion must be checked.
Paths are relative to /images — same convention as Upload and Update Media nodes.
The designer shows these tabs for this node:
| Tab | Purpose |
|---|---|
| Info | Plain-language description and output payload fields for downstream steps |
| General | Canvas label and read-only node ID |
| AI | Optional assistant to help draft settings from plain language |
| Design | Node-specific configuration fields |
These fields are managed by the designer or runtime — you do not type into them directly:
| Property key | Label | Type | Required | Visible when | Notes |
|---|---|---|---|---|---|
_nodeId | Node ID | node-id | No | — | — |
_payloadFields | Available Fields | payload-panel | No | — | — |
| Property key | Label | Type | Required | Visible when | Notes |
|---|---|---|---|---|---|
label | Label | text | No | — | Node label |
| Property key | Label | Type | Required | Visible when | Notes |
|---|---|---|---|---|---|
deleteMode | Delete mode | select (single | paths; default: single) | No | — | — |
mediaPath | Media path | payload-text | No | deleteMode === 'single' | blog/hero.png |
mediaPaths | Media paths | textarea | No | deleteMode === 'paths' | One path per line, comma-separated, or JSON array |
confirm | Confirm deletion | checkbox | No | — | — |
Credentials, API keys, mailers, SMTP, and integration defaults are configured in the CMS plugin under Node Configuration, not per step on this node. Link the flow to a domain before testing CMS-backed fields.
After this step runs, later nodes can reference these fields using placeholders such as {{delete_media.success}}.
| Field key | Type | Description |
|---|---|---|
success | boolean | Whether the operation completed successfully. |
deleted | boolean | Whether the record was deleted. |
deletedCount | number | Number of records deleted. |
paths | array | Array of file paths that were processed. |
notFound | array | Paths or IDs that could not be found. |
message | string | Human-readable status, error, or result summary. |
Other steps in the same area of the palette:
wp-delete-media) — Mediaretrieve-media) — Mediawp-retrieve-media) — Mediaupdate-media) — Mediawp-update-media) — Media