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.