Delete - WunderGraph

Usage

npx wgc clients delete <client-name> --graph-name <graph-name>

Description

The npx wgc clients delete command deletes a registered GraphQL client from a federated graph or monograph. If the client has persisted operations or persisted operation traffic, the command asks for confirmation. Confirming deletes the client and its related persisted operations. Use --force to skip confirmation. Use --json to print structured JSON output.

Parameters

Options

Examples

npx wgc clients delete web --graph-name production

Deletes the client named web from the graph named production.

npx wgc clients delete web --graph-name production --namespace staging --force

Deletes the client named web from the graph named production in the staging namespace without prompting.

npx wgc clients delete web --graph-name production --json --force

Deletes the client named web and prints JSON output.