Restrict this key to specific IPs or CIDR ranges. Other plans get 403. Pass an empty list to remove restrictions.
X-API-Key
0 credits
curl -X POST 'https://api.puntersedge.online/v1/keys/ip-whitelist' \
-H 'X-API-Key: YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '["203.0.113.7/32", "198.51.100.0/24"]'
| Name | In | Type | Required | Description |
|---|---|---|---|---|
cidrs |
body | array | yes | IPv4/IPv6 addresses or CIDR ranges. A bare address is stored as a /32 (or /128). Send an empty list to remove all restrictions. |
Status codes: 200, 401, 402, 403, 422, 429, 500. Response bodies are JSON; the full schema is in /openapi.json.
200 application/json
— this call costs 0 credits.
Field names and types are as the API returns them; values are a real sample, trimmed to a few items.
{
"ip_whitelist": [
"203.0.113.0/24",
"198.51.100.7"
],
"message": "Whitelist updated — 2 rule(s) active."
}
GET /v1/account — Your account: email, plan, password, billing and consent statusPOST /v1/account/marketing — Turn promotional emails on or off for your accountPOST /v1/account/password — Set or change your account passwordGET /v1/billing/overage — Overage: state, rate and ceilingPOST /v1/billing/overage — Switch overage on or offGET /v1/billing/portal — Self-service billing portal linkPOST /v1/billing/portal — Billing portal link (console; confirms your password)GET /v1/billing/upgrade-link — A signed link to your prorated upgrade pageThe free tier needs no credit card, and the sandbox endpoints need no key at all.
Get a free API key Quickstart