Skip to main content

Delete data


Intro

This node is used to delete a document from a collection based on its document_id

We recommend you read about Koxy Database.


How this node works

This node will get a collection ID and a document ID and delete the document from your database based on the collection and the document ID you give it.

This node will save {"deleted": true} as a response that can be accessed from other nodes using the koxy.res.{NODE_NAME} syntax.


Node properties

  • name: node names should be unique and can't be changed.

  • Collection: the collection ID that you want to delete the document from.

  • document_id: the document ID to delete.

  • Next: the trigger that the node should call after deleting the document. click on the next input to get a list of available triggers.


Dynamic variables support

You can use Dynamic variables in the following properties:

  • document_id.