COLLECTION.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
op stringrequired
Default value: collection.delete
The operation name
collection stringrequired
The collection name
match object
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...