.nh .TH "GH-EVENT-SUBSCRIPTION-DELETE" "1" "Nov 2026" "" "GitHub CLI manual" .SH NAME gh-event-subscription-delete - Delete an event subscription (preview) .SH SYNOPSIS \fBgh event subscription delete [flags]\fR .SH DESCRIPTION Delete an event subscription before it expires, which frees a place under the limit of subscriptions of your account. .PP Event streams that are already open on the subscription are not guaranteed to close. .SH EXIT CODES 0: Successful execution .PP 1: Error .PP 2: Command canceled .PP 4: Authentication required .PP NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. .SH EXAMPLE .EX # Delete a subscription $ gh event subscription delete sub_123 .EE .SH SEE ALSO \fBgh-event-subscription(1)\fR