v1

latestOpenAPI 3.0.22026-07-144652931.4 MB
IP Allow Lists

Get an IP allow list

<!-- theme: warning -->

Early Access

This API is in Early Access and may change at any time. You must pass the X-EARLY-ACCESS: ip-allow-lists header on every request, and your account must be enrolled in the IP Allow Lists Early Access program. Contact your PagerDuty account team to request access.

Return the IP allow list with the given id.

Only Account Owners, Global Admins, and Account API Keys can call this endpoint.

Scoped OAuth requires: ip_allow_lists.read

get/ip_allow_lists/{id}

Headers

X-EARLY-ACCESS'ip-allow-lists' required

This API is currently in Early Access. You MUST pass in this header with the value ip-allow-lists, and your account must be enrolled in the IP Allow Lists Early Access program. Contact your PagerDuty account team to request access.

Acceptstring required

The Accept header is used as a versioning header.

Response

IP allow list retrieved successfully.

Example response

{
  "ip_allow_list": {
    "id": "AGIS47HYOV6BDODBTMQKMPQPHU",
    "type": "ip_allow_list",
    "state": "enabled",
    "cidr_entries": [
      {
        "cidr": "192.168.1.0/24",
        "description": "Office VPN"
      },
      {
        "cidr": "10.0.0.0/24",
        "description": "Data Center"
      }
    ]
  }
}