namespaces.delete
Removes a namespace and every item in it. The server starts an async delete job; by default the client waits until the job completes so you can safely recreate the same namespace name immediately afterward.DELETE /namespaces/{namespace_name} — see Delete namespace
Parameters
When
True (default), poll the delete job until completed or failed before returning.dict[str, Any] — status, job_id, and when wait=True, final delete job fields (for example delete_job.status).
Raises: MoorchehApiError — HTTP 404 when the namespace is not found.
Examples
Delete and Wait (default)
Return Immediately With job_id
Manual Poll (wait=False)
Error Handling
Error Handling Example
Related Operations
- Delete Job Status — poll delete progress
- Create Namespace — add a namespace
- API: Delete namespace
- CLI: moorcheh namespace-delete