.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-opentofu-state-delete - Delete a state or a specific version of a state. .SH SYNOPSIS \fBglab opentofu state delete [] [flags]\fP .SH DESCRIPTION Prompts for confirmation before deletion. Use \fB--force\fR to skip the confirmation prompt. .SH OPTIONS \fB-f\fP, \fB--force\fP[=false] Force delete the state without prompting. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX # Delete a state and all its versions glab opentofu state delete production # Delete only a specific version of a state, by serial glab opentofu state delete production 42 # Delete without the confirmation prompt glab opentofu state delete production --force .EE .SH SEE ALSO \fBglab-opentofu-state(1)\fP