tcb cloudrun delete
Delete a CloudBase Run service together with its configuration and resources.
Usage
tcb cloudrun delete [options]
Parameters
| Parameter | Required | Description | Default |
|---|---|---|---|
-e, --env-id <envId> | No | Environment ID | — |
-s, --serviceName <serviceName> | No | Service name | — |
--force | No | Skip the confirmation prompt | false |
--dry-run | No | Preview the services to delete without deleting them | false |
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.