Skip to content

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

ArgumentRequired
idyes
FlagTypeDefaultDescription
--contextstringOverride the active context for this invocation (also: NYX_CONTEXT env var)
--jsonboolfalseEmit one JSON envelope per invocation (stdout for success, stderr for errors)
--yesboolfalseSkip the confirmation prompt

Aliases: rm, remove


Generated from tree.json @ fallbac.