tcb app delete
Deletes an app record. It does not delete the underlying app resource files.
Usage
tcb app delete <serviceName> [options]
Flags
| Flag | Required | Description | Default |
|---|---|---|---|
<serviceName> | Yes | App name | — |
-e, --env-id <envId> | No | Target environment ID | envId in the config file |
--dry-run | No | Preview the delete operation without executing | — |
Example
tcb app delete my-app -e my-env-id
# Preview delete (dry run)
tcb app delete my-app -e my-env-id --dry-run
Notes
Warning
This operation deletes all versions and resources of the app and is irreversible. Project resource files must be manually cleaned up in the static hosting bucket.
Related commands
- List apps: all apps in the environment
- App details: confirm the target app