younifyd
Menu

Delete Document

Delete a document

DELETE/api/{pluralApiId}/{documentId}

Use it in a workflow

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

Request

Path parameters

pluralApiIdstringrequired

Plural API ID of the content type, for example articles. Single types are reached by the same operations using their singular API ID (via the Base URL path field), where the document ID is not needed.

documentIdstringrequired

Document ID (documentId, a string) of the document.

Query parameters

localestring

Locale code of the document version, for example en or fr.

Response

Returns 204 with a any. Read it in later steps with {{deleteDocument.response.data.<field>}}.

Need more? See the Strapi guide for connection setup and behaviour shared by every action.

Was this page helpful?