Deployments.ai Docs
Command reference

deployments brain-erasure

Generation-fenced Brain erasure operations

CommandSummary
deployments brain-erasure createPermanently erase a Brain and its derived data
deployments brain-erasure showShow 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 (SDK eraseBrain).
  • Needs an organization: --org or the saved context.
  • Destructive. Live runs ask for confirmation; pass --yes in scripts or with --json.
  • Sends an idempotency key. The CLI generates one per run; pass --idempotency-key to retry safely.
FlagTypeRequiredDefaultDescription
<brain>positionalyesBrain ID
--expected-versionstring (number)yesCurrent Brain version

Also accepts the global flags.

deployments brain-erasure show

Show a Brain erasure receipt.

deployments brain-erasure show <brain> <erasure>
FlagTypeRequiredDefaultDescription
<brain>positionalyesBrain ID
<erasure>positionalyesBrain erasure ID

Also accepts the global flags.

On this page