---
title: "ezgh obs browser-apps tokens update"
description: "Change a client token's name, origins, tunnel addresses or limits."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh obs browser-apps tokens update

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
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`](/cli/reference/obs-browser-apps-tokens).

## Examples

```sh
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](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/obs-browser-apps-tokens-update/index.mdx
