truncate

DELETE /collections/{name}/truncate

Changed on

Permanently remove all or filtered document data from a collection on this server. Does not propagate the deletion to other Defra nodes in the network.

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/collections/{name}/truncate
  • Auth
    • none
    • or HTTP bearer

Path parameters

namestring required

Collection name

Request body

filterunknown

Response

ok

Changes