Skip to main content

Organization Management

Most CLI commands require an organization context. Set a default organization to avoid specifying it on every command.

List organizations​

hooklistener org list

Displays a table of all organizations your account belongs to. The currently selected organization is marked with *.

Set default organization​

hooklistener org use <organization-id>

This sets the default organization for all subsequent commands. The ID is stored in your config file.

Clear default organization​

hooklistener org clear

Removes the default organization. Commands that require an organization will ask you to specify one with --org.

Per-command override​

Override the default organization for a single command using --org:

hooklistener endpoint list --org org_abc123

This works on all commands that require an organization context:

  • endpoint (all subcommands)
  • static-tunnel (all subcommands)
  • tunnel
  • listen