Skip to main content

DB.DELETE

POST 

To delete documents in a collection. Deleted documents can be restored shortly after deletion, in the event of a mistake

Request

Body

    action stringrequired

    Default value: db.delete

    The action name

    collection stringrequired

    The collection name

    matches objectrequired

    The matches criteria

Responses

Archive or Delete response

Schema
    data object
    _ref string

    The reference ID to be used to restore archived or deleted documents

Loading...