Skip to main content

Overview

Deletes one or more items by id within a namespace. Missing ids are listed in not_found_ids without failing the request. Deleting items frees global item quota immediately. Maximum 100 ids per request.

Synopsis

Options

On Windows PowerShell, escape inner quotes: --ids-json '[\"doc-1\"]'. In bash, use single quotes: '["doc-1"]'.

Examples

Output

Prints JSON from POST /namespaces/{namespace_name}/items/delete:
string
"success" when the delete request completed; "failure" on error.
string
Human-readable result or error description.
string
Namespace items were deleted from.
number
Number of ids sent in the request.
number
Number of items actually removed.
array
Ids that were not found (may be empty).
Example output (success)
Example output (none found)

Exit codes