| GH-EVENT-SUBSCRIPTION-LIST(1) | GitHub CLI manual | GH-EVENT-SUBSCRIPTION-LIST(1) |
NAME
gh-event-subscription-list - List event subscriptions (preview)
SYNOPSIS
gh event subscription list [flags]
OPTIONS
- -q, --jq <expression>
- Filter JSON output using a jq expression
- --json <fields>
- Output JSON with the specified fields
- -L, --limit <int> (default 30)
- Maximum number of subscriptions to list
- -t, --template <string>
- Format JSON output using a Go template; see "gh help formatting"
ALIASES
gh event subscription ls
JSON FIELDS
createdAt, eventTypes, eventsUrl, expiresAt, id, resourceUrl, url
EXIT CODES
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.
EXAMPLE
# List your subscriptions $ gh event subscription list # Print the ID and resource of each subscription $ gh event subscription list --json id,resourceUrl --jq '.[] | [.id, .resourceUrl] | @tsv'
SEE ALSO
| Nov 2026 |