Get a zone allowlist entry
GET
/api/zones/{zoneId}/security/allows/{id}
Returns a single zone allowlist entry, identified by its opaque id (base64url of the source). Includes geo data for IP sources.
Authorizations
ApiToken
Long-lived API token created via POST /api/api-tokens (returned once in plaintext).
Type
API Key (header: X-API-TOKEN)
or
JWT
JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer
Type
HTTP (bearer)
Parameters
Path Parameters
zoneId*
zone-allow identifier
Type
Requiredstring
id*
zone-allow identifier
Type
Requiredstring
Responses
zone-allow resource
JSON "@context": "string", "@id": "string", "@type": "string", "origin": "manual", "geo": { "country": "US", "country_name": "United States", "region": "California", "city": "San Francisco", "latitude": 37.77, "longitude": -122.42, "accuracy_radius_km": 20, "asn": 15169, "asn_organization": "Google LLC" }, "source": "203.0.113.5", "type": "ip", "id": "MjAzLjAuMTEzLjU"
{
}
