[egulu CLI reference](../index.md) / [egulu webapps](index.md)

# egulu webapps set-traffic

POST /v1/projects/{project}/locations/{location}/webApps/{webApp}:setTraffic

```sh
egulu webapps set-traffic [options]
```

## API operation

[WebApps_setTraffic](../../api/webapps/WebApps_setTraffic.md): `POST /v1/projects/{project}/locations/{location}/webApps/{webApp}:setTraffic` (webapps module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--etag` | value | no | etag |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--web-app` | value | yes | webApp |

The [global options](../index.md) apply too.
