Skip to content

ezgh obs browser-apps tokens update

Change a client token's name, origins, tunnel addresses or limits.

Updated View as Markdown
ezgh obs browser-apps tokens update <token> [--name n] [--origin o… | --add-origin o… --remove-origin o…] [--tunnel-address cidr… | --no-tunnel-addresses] [limit flags] [flags]

Change a client token, given by ID, slug or name. --origin replaces the allowed origins; --add-origin and --remove-origin edit the list ezgh reads. --tunnel-address replaces the tunnel addresses, and --no-tunnel-addresses removes them. Each limit flag sets that limit, or with default returns it to its default; limits not given stay as they are. The change is sent with the ETag ezgh just read, so a token someone changed in between is left alone.

Part of ezgh obs browser-apps tokens.

Examples

ezgh obs browser-apps tokens update "storefront production" --errors-per-minute 3000 --bytes-per-day default
ezgh obs browser-apps tokens update ctk_st0r3fr0nt00 --add-origin 'http://localhost:*'

Flags

Flag Type Default Description
--add-origin string, repeatable add an allowed origin (repeatable)
--bytes-per-day string request bytes a UTC day: bytes, or KiB, MiB or GiB (default 20GiB); default returns it to the default
--bytes-per-second string request bytes a second: bytes, or KiB, MiB or GiB (default 50MiB); default returns it to the default
--errors-per-minute string errors a minute; more are dropped before they’re billed (default 6000); default returns it to the default
--name string a new display name
--no-tunnel-addresses boolean remove every tunnel address
--origin string, repeatable replace the allowed origins with these (repeatable)
--remove-origin string, repeatable remove an allowed origin (repeatable)
--requests-per-second string requests a second (default 500); default returns it to the default
--tunnel-address string, repeatable replace the tunnel addresses with these CIDRs (repeatable)

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close