tcb fn delete-version
Deletes a specific version of a function. $LATEST cannot be deleted.
Usage
tcb fn delete-version <functionName> <version>
Flags
| Flag | Required | Description | Default |
|---|---|---|---|
<functionName> | Yes | Function name | — |
<version> | Yes | Version number to delete | — |
--yes | No | Skip the confirmation prompt | — |
Example
# Delete version 1 of the app function
tcb fn delete-version app 1
# Delete without confirmation
tcb fn delete-version app 1 --yes
⚠️ Version deletion is irreversible. If traffic still points to the version, move it first with
tcb fn config-route.