Graph listing, creation, retrieval, and deletion are available via the CLI and SDK:
- CLI:
wh graph create, wh graph view, wh graph list, wh graph delete — see CLI commands
- SDK:
client.graph.* methods — see SDK client
Graph deletion hides the graph immediately and schedules permanent removal after the retention window. Immediate irreversible purge is not available via the public CLI or SDK.
Deletion can be blocked by outstanding references to the graph. Three kinds of reference block it:
- Cross-graph subscriptions — a subscription in another graph that sources from this graph.
- PAT committer bindings — a personal access token whose default committer identity points at a thing in this graph.
- Inbound cross-graph references — assertions or things in another graph that reference things or assertions in this graph.
Same-graph subscriptions are paused automatically during deletion and do not block it. Remove all blocking references before retrying. To clear a PAT binding, revoke the token and reissue it without a committer identity pointing at this graph — see PAT docs.
wh graph delete <org>/<graph>
await client.graph.delete(orgName, graphName) // returns { graceExpiresAt: Date }