Grafbase Subgraph Command

List all subgraphs of a branch.

Usage:

grafbase subgraph list <GRAPH_REF>

Arguments:

  • <BRANCH_REF>: Graph reference that uses the format account/graph@branch.

Removes a subgraph.

Usage:

grafbase subgraph remove <GRAPH_REF> <SUBGRAPH_NAME>

Arguments:

  • <GRAPH_REF>: Branch reference that uses the format account/graph@branch.
  • <SUBGRAPH_NAME>: Name of the subgraph to remove.

List subgraphs:

grafbase subgraph list my-org/my-graph@main

Remove a subgraph:

grafbase subgraph remove my-org/my-graph@main my-subgraph