---
title: "Server Quota Config"
method: GET
path: "/v1/servers/{server_id}/quota-config"
---

# Server Quota Config

`GET /v1/servers/{server_id}/quota-config`

## Request

- Base URL: `https://api.portveil.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.portveil.com/v1/servers/{server_id}/quota-config`
- Auth: none declared

Resolved per-peer bandwidth quotas for this exit server.

Authenticated with the per-server token (cls_...). The exit operator
fetches this and feeds it to clearline/exits/apply-quotas.py:

    curl -sS -H "Authorization: Bearer $CLS_TOKEN" \
      https://ctl/v1/servers/$SID/quota-config > quotas.json
    sudo python3 apply-quotas.py --config quotas.json --iface wg0 --apply

Each peer entry carries the tunnel IP and the resolved cap in Mbps
(device override, else the account default; null = unlimited).

## Path parameters

- `server_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/portveil/apis/portveil-control-plane.md) · [All operations](https://skmtc.dev/portveil/apis/portveil-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/portveil/apis/portveil-control-plane/revisions/48ad5689e525?raw)
