Delete - WunderGraph

Usage

npx wgc monograph delete <name> [-f, --force]

Delete is an irreversible action. It will delete the monograph and the single connected subgraph, including versions, schema checks, etc.

Description

The npx wgc monograph delete command allows you to delete a monograph on the Cosmo platform’s control plane. Deleting a monograph will remove its configuration and associated resources. Use this command with caution, as the action cannot be undone.

Parameters

Options

-n, --namespace : The namespace of the monograph (Default: “default”).
-f, --force : An optional flag that allows you to force delete the monograph without being prompted for confirmation. Use this option if you want to delete the monograph without additional prompts.

Examples

npx wgc monograph delete production

Delete the monograph named “production”.

npx wgc monograph delete production -f

Force delete the monograph named “production” without confirmation.

Notes