Get an IP allow list
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
Request
- Base URLhttps://api.pagerduty.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
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.
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"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.