Menu
Delete File
Delete an uploaded file
DELETE
/api/upload/files/{id}Use it in a workflow
- Add a step and choose the Strapi connector.
- Pick the Delete File action (under Files).
- Fill in the fields below, then reference the result from later steps as
{{deleteFile.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{deleteFile.response.data.<field>}}.
{
"id": 0,
"documentId": "string",
"name": "string",
"url": "string",
"mime": "string",
"size": 0
}
Need more? See the Strapi guide for connection setup and behaviour shared by every action.
Was this page helpful?