younifyd
Menu

Delete File

Delete an uploaded file

DELETE/api/upload/files/{id}

Use it in a workflow

  1. Add a step and choose the Strapi connector.
  2. Pick the Delete File action (under Files).
  3. Fill in the fields below, then reference the result from later steps as {{deleteFile.response.data}}.

Request

Path parameters

idintegerrequired

Numeric ID of the file.

Response

Returns 200 with an object. Read it in later steps with {{deleteFile.response.data.<field>}}.

idinteger
documentIdstring
namestring
urlstring
mimestring
sizenumber
json
{
  "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?