Commands: Delete Document
Example
$command = new DeleteDocumentCommand("employees/1-A", null);
$session->advanced()->getRequestExecutor()->execute($command);
Syntax
DeleteDocumentCommand(?string $idOrCopy, ?string $changeVector = null);
Parameters | Type | Description |
---|---|---|
idOrCopy | string |
ID of a document to be deleted |
changeVector | string (optional) |
Entity Change Vector, used for concurrency checks (None to skip check) |