Reference

Set IP allowlist

Sets where the organization's keys and people may call from. Needs an org admin.

PUT
/orgs/{org}/ip-allowlist

Calls from anywhere else answer 403 ip_not_allowed. A list that leaves out the address of the call that sets it is refused, so an admin never locks themselves out.

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

org*string

Your organization.

Request Body

application/json
  1. body
cidrs*array<>

Addresses the organization's keys and console sessions may call from, as CIDRs such as 203.0.113.0/24 or 2001:db8::/32; a lone address means only itself. Empty: any.

Itemsitems <= 100

Response Body

The new list.

application/json
  1. response
cidrs*array<>

Addresses the organization's keys and console sessions may call from, as CIDRs such as 203.0.113.0/24 or 2001:db8::/32; a lone address means only itself. Empty: any.

Itemsitems <= 100
Example Request
curl -X PUT 'https://example.com/v1/orgs/string/ip-allowlist' \  -H 'Content-Type: application/json' \  -d '{  "cidrs": [    "string"  ]}'
Example Response
{  "cidrs": [    "string"  ]}