Delete a workload, every Instance it created, and its ALB with datumctl compute destroy.
datumctl compute destroy removes a workload, its ALB, and every Instance that it created in every location:
datumctl compute destroy api
Before it deletes anything, the command prints a summary of the number of placements, the locations, the total minimum replicas, and the ALB’s hostnames, and then asks for confirmation. Custom domains attached to the ALB stop serving the workload, but Datum keeps the domain resources. To skip the prompt in scripts and CI, pass -y or --yes:
datumctl compute destroy api -y
Unlike datumctl delete elsewhere in the CLI, destroy has no --dry-run and there’s no diff equivalent to preview it. The confirmation prompt is your only checkpoint — read the summary it prints, or check the workload yourself first: