delete_document_by_id
Remove a specific document from Couchbase using its ID, scope, and collection. Returns True if successful, False if the deletion fails.
Instructions
Delete a document by its ID. Returns True on success, False on failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection_name | Yes | ||
document_id | Yes | ||
scope_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"collection_name": {
"title": "Collection Name",
"type": "string"
},
"document_id": {
"title": "Document Id",
"type": "string"
},
"scope_name": {
"title": "Scope Name",
"type": "string"
}
},
"required": [
"scope_name",
"collection_name",
"document_id"
],
"title": "delete_document_by_idArguments",
"type": "object"
}