Skip to main content

tcb cloudrun delete

Delete a CloudBase Run service together with its configuration and resources.

Usage​

tcb cloudrun delete [options]

Parameters​

ParameterRequiredDescriptionDefault
-e, --env-id <envId>NoEnvironment ID—
-s, --serviceName <serviceName>NoService name—
--forceNoSkip the confirmation promptfalse
--dry-runNoPreview the services to delete without deleting themfalse

Examples​

# Interactive delete, the CLI asks for the service
tcb cloudrun delete

# Delete a service in a specific environment
tcb cloudrun delete -e env-123456 -s my-service

# Delete without confirmation
tcb cloudrun delete -e env-123456 -s old-service --force

# Preview the services to delete
tcb cloudrun delete -e env-123456 -s my-service --dry-run

⚠️ Deletion is irreversible, back up important data and configuration first.

Notes​

  • Deleting a service also releases all of its revisions, the images built by the platform, and the uploaded deployment packages; none of them can be recovered
  • For services deployed with --image-url, the images live in your own repository and deleting the service does not affect them
  • Deleting a single revision does not remove the image used by that revision from the image repository. See Images and Deployment Packages