Skip to main content

tcb fn delete-version

Deletes a specific version of a function. $LATEST cannot be deleted.

Usage​

tcb fn delete-version <functionName> <version>

Flags​

FlagRequiredDescriptionDefault
<functionName>YesFunction name—
<version>YesVersion number to delete—
--yesNoSkip 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.