nb portal destroy

Delete the portal record and deployed files.

Usage

nb portal destroy <portal> [flags]

Flag

FlagTypeDescription
<portal>stringPortal name or slug.
--env, -estringCLI env name. If omitted, the current env is used.
--yes, -ybooleanSkip confirmation prompts.
--forcebooleanIgnore missing portal records or deployment directories.
--delete-dev-path, -DbooleanDelete the portal development directory in addition to the deployed portal.

Examples

nb portal destroy customer --yes
nb portal destroy customer --delete-dev-path --yes
nb portal destroy customer --env dev --yes
nb portal destroy customer --force --yes

Notes

This command deletes the remote portal record and deployed files. The development directory is retained by default; pass --delete-dev-path to delete it as well. In non-interactive mode, pass --yes. Use --force to ignore missing records or deployment files.