- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteFilesWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the deleteFilesWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow deletes one or more files. It's used by the Delete File Upload Admin API Route.
The File Module Provider installed in your application will be used to delete the file from storage.
You can use this workflow within your customizations or your own custom workflows, allowing you to delete files within your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
DeleteFilesWorkflowInput
DeleteFilesWorkflowInput
DeleteFilesWorkflowInput
DeleteFilesWorkflowInputids
string[]
ids
string[]Was this page helpful?