IP Allowlist

Replace existing allowlist with provided list of IP addresses & ranges

Changed on
put/api/v1/ip-allowlist

Request

  • Base URL
    https://api.getcortexapp.com
  • URL
    https://api.getcortexapp.com/api/v1/ip-allowlist
  • Auth
    HTTP bearer

Query parameters

forceboolean

When true, entries will be updated even if the list doesn't contain the requestor's IP address

Request body

Example request

{
  "entries": [
    {
      "address": "10.0.0.1"
    }
  ]
}

Response

Successfully replaced allowlist

pageinteger required

Current page number, 0-indexed

totalinteger required

Total number of results

totalPagesinteger required

Total number of pages

Example response

{
  "entries": [
    {
      "address": "10.0.0.1"
    }
  ]
}

Changes