Usage
Delete is an irreversible action. It will delete the entire federated graph, including versions, schema checks, etc. It will not delete the associated subgraphs.
Contract Graph behavior: Deleting a federated grpah will delete all associated contract graphs. Deleting a contract graph has no effect on the source federated graph.
Description
Thenpx wgc federated-graph delete command allows you to delete a federated graph on the Cosmo platform’s control plane. Deleting a federated graph will remove its configuration and associated resources. Use this command with caution, as the action cannot be undone.
Parameters
- <name>: The name of the federated graph you want to delete. Replace- <name>with the name of the federated graph you wish to remove.
Options
-n, --namespace : The namespace of the federated graph (Default: “default”).
Examples
Notes
- 
The npx wgc federated-graph deletecommand interacts with the Cosmo platform’s control plane to delete the specified federated graph. Ensure that you have the necessary permissions to perform this operation.
- 
When using the --forceoption, the command will not prompt for confirmation, so exercise caution to prevent accidental deletions.