Actions28
- Message Actions
- Chat Actions
- Contact Actions
- Session Actions
- Media Actions
- Storage Actions
- Webhook Actions
- Ticket Actions
Storage → Delete Object
AI-generatedSummary
Deletes a single stored media object (built-in or bring-your-own storage) from the WAOtomatis organization by its object ID.
Inputs
- Object ID (required) — ID of the stored object to delete, e.g. taken from the List Objects operation. It is URL-encoded into the request path.
- Session — The properties list a session picker, but the source never reads it for this operation. Storage endpoints are organization-scoped, so the value doesn't affect the delete. The picker is required in the UI, so you may still need to select one.
Output shape
One item per input item. It holds the API's response body, or { deleted: true, id: <objectId> } if the API returns an empty body.
The call is DELETE /v1/storage/objects/{objectId}. API errors are thrown as NodeApiError, with the API's error message and code. If Continue On Fail is enabled, a failed item returns
{ error: message }instead. The deletion cannot be undone.
Examples
Example 1: Remove a specific stored file after processing it.
Resource: Storage, Operation: Delete Object, Object ID set to an expression such as {{ $json.id }} from a previous List Objects node.
Example 2: Clean up received media in bulk.
Run List Objects with Kind = Received and Return All on, then feed the items into Delete Object with Object ID = {{ $json.id }}.
