Home > git-documentdb > GitDocumentDB > delete
GitDocumentDB.delete() method#
Delete a JSON document
Signature:Parameters#
| Parameter | Type | Description |
|---|---|---|
| _id | string | _id is a file path whose extension is omitted. |
| options | DeleteOptions |
Promise<DeleteResultJsonDoc >
Remarks#
- This is an alias of GitDocumentDB#rootCollection.delete()
Exceptions#
# Errors from deleteWorker