Skip to main content
POST
Add an IP allowlist entry
Dashboard session only. API keys cannot call this operation.

Authorizations

Authorization
string
header
required

Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.

Headers

Idempotency-Key
string

Optional key (1-255 printable ASCII characters, no spaces; a UUID is ideal) that makes this POST safe to retry: the same key with the same request replays the stored response for 24 hours. See Idempotency.

Required string length: 1 - 255
Pattern: ^[\x21-\x7E]{1,255}$

Body

application/json

New entry.

cidr
string
required

CIDR block: IPv4 prefix at least /8, IPv6 at least /32, host bits zero, no private, loopback or link-local ranges.

label
string
required

Label (1-80 characters).

Required string length: 1 - 80

Response

Created

Single-object envelope around a IpAllowlistEntry.

data
object
required

An allowed source address range.