Command reference
deployments brain-erasure
Generation-fenced Brain erasure operations
| Command | Summary |
|---|---|
deployments brain-erasure create | Permanently erase a Brain and its derived data |
deployments brain-erasure show | Show a Brain erasure receipt |
deployments brain-erasure create
Permanently erase a Brain and its derived data.
deployments brain-erasure create <brain> --expected-version <number>- Calls
POST /v1/brains/{brainId}/erasures(SDKeraseBrain). - Needs an organization:
--orgor the saved context. - Destructive. Live runs ask for confirmation; pass
--yesin scripts or with--json. - Sends an idempotency key. The CLI generates one per run; pass
--idempotency-keyto retry safely.
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
<brain> | positional | yes | Brain ID | |
--expected-version | string (number) | yes | Current Brain version |
Also accepts the global flags.
deployments brain-erasure show
Show a Brain erasure receipt.
deployments brain-erasure show <brain> <erasure>- Calls
GET /v1/brains/{brainId}/erasures/{erasureId}(SDKgetBrainErasure). - Needs an organization:
--orgor the saved context.
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
<brain> | positional | yes | Brain ID | |
<erasure> | positional | yes | Brain erasure ID |
Also accepts the global flags.