Delete - WunderGraph

Usage

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

Delete is an irreversible action. However, the change will only be visible to the routers once the composition has been successful. Until then, the routers will operate with the most recent valid composition. Please use subgraph check to understand the impact of your change.

Description

The npx wgc router plugin delete command allows you to delete a plugin subgraph on the Cosmo platform’s control plane. When you delete a plugin subgraph, all associated data and configurations will be permanently removed. Use this command with caution, as the action cannot be undone.

Parameters

Options

Examples

  1. Delete the plugin subgraph named “projects”:

    npx wgc router plugin delete projects
    
  2. Force delete the plugin subgraph named “projects” without confirmation:

    npx wgc router plugin delete projects -f
    
  3. Delete a plugin subgraph in a specific namespace:

    npx wgc router plugin delete projects -n production
    

Notes