# Setting: `vds_bandwidth_count`

- **Constant:** `ConfigInterface::VDS_BANDWIDTH_COUNT`
- **Category:** `vds`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|in:both,out,in`
- **Placeholder / default hint:** `both`

## Description

Which traffic counts towards the limit: both directions, outbound only or inbound only.

## Allowed options

- `both`
- `out`
- `in`

## Change via CLI

```bash
featherpanel saas getsetting vds_bandwidth_count
featherpanel saas setsetting vds_bandwidth_count "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "vds_bandwidth_count": "<value>" }
```
