Skip to main content

Overview

Starts an asynchronous delete of a namespace and all items in it. By default, the CLI waits for the delete job to finish before exiting, so you can safely recreate the same namespace name right away. Use --no-wait to return immediately with a job_id and poll with moorcheh namespace-delete-job-status. When the job completes, global item quota is freed for all removed items.

Synopsis

Options

Examples

Output

Prints JSON from DELETE /namespaces/{namespace_name}:
string
"success" when the delete job was started; "failure" on error.
string
Human-readable result or error description.
string
Namespace being deleted.
string
Async delete job id — use with namespace-delete-job-status.
Example output

Workflow

Default (wait until complete):
Fire-and-forget (manual poll):
Repeat the job-status command until status is completed or failed.

Exit codes