IP Allowlist
Use these operations to interact with the IP allowlist in Cortex.
Required permissions
Your API key must have the Configure IP allowlist
permission.
Operations
Number of results to return per page, between 1 and 1000. Default 250.
250
Page number to return, 0-indexed. Default 0.
0
Successfully retrieved IP allowlist
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
GET /api/v1/ip-allowlist HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
{
"entries": [
{
"address": "10.0.0.1",
"description": "text"
}
],
"page": 1,
"total": 1,
"totalPages": 1
}
Successfully validated allowlist
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
POST /api/v1/ip-allowlist/validate HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"entries": [
{
"address": "10.0.0.1",
"description": "text"
}
]
}
{
"address": "10.0.0.1",
"description": "text",
"valid": true
}
When true, entries will be updated even if the list doesn't contain the requestor's IP address
Successfully replaced allowlist
Bad Request
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
PUT /api/v1/ip-allowlist HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"entries": [
{
"address": "10.0.0.1",
"description": "text"
}
]
}
{
"entries": [
{
"address": "10.0.0.1",
"description": "text"
}
],
"page": 1,
"total": 1,
"totalPages": 1
}
Last updated
Was this helpful?