List global exclusions
GET
/api/admin/exclusions
const url = 'https://hitkeep.com/api/admin/exclusions';const options = {method: 'GET', headers: {cookie: 'hk_token=<hk_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://hitkeep.com/api/admin/exclusions \ --cookie hk_token=<hk_token>Lists instance-level IP/CIDR and country exclusions used by ingest-time filtering. Country exclusions affect new traffic only. Requires instance.manage_site_exclusions.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Global exclusions
Media type application/json
Array<object>
object
cidr
IP or CIDR value for cidr rules.
string
country_code
Uppercase ISO 3166-1 alpha-2 country code for country rules.
string
created_at
string format: date-time
created_by
string format: uuid
description
string
id
string format: uuid
site_id
string format: uuid
type
string
Example
[ { "type": "cidr" }]