Skip to main content

Overview

Polls an async namespace delete started by moorcheh namespace-delete. Prints job progress as JSON.

Synopsis

Options

Examples

Output

Prints JSON from GET /namespaces/{namespace_name}/delete-jobs/{job_id}:
string
Delete job id.
string
Namespace being deleted.
string
Job state: "running", "completed", or "failed". On lookup errors: "failure".
number
Items in the namespace when delete started.
number
Items removed so far.
string | null
Error when job status is "failed".
string
Job start time (ISO 8601 UTC).
string
Last update time (ISO 8601 UTC).
string | null
Job finish time; null while running.
string
Error description when the job cannot be found.
Example output (completed)

Exit codes