This endpoint allows you to delete an existing resource from any collection. For example, the "todos" collection can be used to delete a to-do item. Every collection in your application can be deleted in the same way by replacing "todos" with the desired collection name. To use this endpoint, send a DELETE request to /todos/{id} to remove a specific resource.
DELETE /todos?q[_id]=656f2b4e3f1a2b5d6c7e8f90
Ensure that the user has the necessary permissions to delete a resource in the specified collection. The permissions are defined in the config.json file.