Language
C# HTTP
Article For
3.0 4.0 4.1 4.2 5.0 5.1 5.2

Commands: Documents: Delete

Delete is used to remove a document from a database.

Syntax

public void delete(String key, Etag etag);
Parameters
key String key of a document to be deleted
etag Etag current document etag, used for concurrency checks (null to skip check)

Example

store.getDatabaseCommands().delete("employees/1", null);