nyx_project_delete
Delete a project. This is destructive: every workload, secret, ingress and configmap in the project is removed and cannot be recovered.
Without —yes the CLI asks for an interactive “yes” confirmation. In non-tty contexts (pipes, CI) or when —json is set, the CLI does NOT prompt — it exits non-zero with the confirmation_required error code so the caller knows to retry with —yes.
Standard flow:
nyx project delete widget # interactive: type “yes” to confirm nyx project delete widget —yes # for scripts / agents
Arguments
Section titled “Arguments”| Argument | Required |
|---|---|
id | yes |
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | Override the active context for this invocation (also: NYX_CONTEXT env var) | |
--json | bool | false | Emit one JSON envelope per invocation (stdout for success, stderr for errors) |
--yes | bool | false | Skip the confirmation prompt |
Aliases: rm, remove
Generated from tree.json @ fallbac.