GH-EVENT-SUBSCRIPTION-DELETE(1) GitHub CLI manual GH-EVENT-SUBSCRIPTION-DELETE(1)

gh-event-subscription-delete - Delete an event subscription (preview)

gh event subscription delete <id> [flags]

Delete an event subscription before it expires, which frees a place under the limit of subscriptions of your account.

Event streams that are already open on the subscription are not guaranteed to close.

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

# Delete a subscription
$ gh event subscription delete sub_123

gh-event-subscription(1)

Nov 2026