Teams

Add one range (CIDR, or a single address) with a label (owner/admin, session signed in within 5 minutes)

post/orgs/{orgId}/ip-allowlist/entries

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/orgs/{orgId}/ip-allowlist/entries
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

orgIdstring uuid required

Request body

cidrstring required

IPv4 or IPv6 range in CIDR notation, e.g. 203.0.113.0/24 or 2001:db8::/32; a bare address is a single host. Saved as its network (10.1.2.3/8 → 10.0.0.0/8); an IPv4-mapped IPv6 range as the IPv4 range

labelstring

what the range is, e.g. "Office VPN"

confirmLockoutboolean

save even though the list would be on without your current address (you lose access to the team until your address is added)

Response

Allow-list

role'owner' | 'admin' | 'developer' | 'viewer' | 'billing' | 'editor' required

your role in this team (owners and admins manage the list)

enabledboolean required

the list is enforced

scimExemptboolean required

SCIM provisioning (the identity provider's servers) may call from any address (default true)

maxEntriesinteger required
updatedAtstring nullable required

ISO-8601 timestamp

Changes

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