DB.DELETE
POST
To delete documents in a collection. Deleted documents can be restored shortly after deletion, in the event of a mistake
Request
- application/json
Body
action stringrequired
Default value: db.delete
The action name
collection stringrequired
The collection name
matches objectrequired
The matches criteria
Responses
- 200
Archive or Delete response
- application/json
- Schema
- Example (from schema)
Schema
data object
_ref string
The reference ID to be used to restore archived or deleted documents
{
"data": {
"_ref": "string"
}
}
Loading...