Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.moorcheh.ai/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Starts an asynchronous delete of a namespace and all items in it. Prints a JSON response with a job_id — poll progress with moorcheh namespace-delete-job-status. When the job completes, global item quota is freed for all removed items.

Synopsis

moorcheh namespace-delete --namespace-name NAME [--base-url URL]

Options

FlagRequiredDescription
--namespace-nameYesNamespace to delete
--base-urlNoDefault http://localhost:8080

Examples

moorcheh namespace-delete --namespace-name my-documents

moorcheh namespace-delete --namespace-name my-documents --base-url http://localhost:8081

Output

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

Workflow

moorcheh namespace-delete --namespace-name my-documents
moorcheh namespace-delete-job-status --namespace-name my-documents --job-id <job_id>
Repeat the job-status command until status is completed or failed.

Exit codes

CodeMeaning
0Delete job started
1API error (404, etc.)