Server Quota Config

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).

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

Path parameters

server_idstring required

Headers

authorizationstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.