Delete - WunderGraph

Usage

wgc grpc-service 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 wgc grpc-service delete command allows you to delete a gRPC subgraph on the Cosmo platform’s control plane. When you delete a gRPC 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 gRPC subgraph named “users-service”:
wgc grpc-service delete users-service
  1. Force delete the gRPC subgraph named “users-service” without confirmation:
wgc grpc-service delete users-service -f
  1. Delete a gRPC subgraph in a specific namespace:
wgc grpc-service delete users-service -n production

Notes