Usage info
API to allow Enterprise organization admins to read the allow list of IP blocks and ASNs from the enterprise configuration.
The token
argument is required and is a session token (xoxc-
or xoxp-
).
Please note that the xoxp-
token must be:
- created by an org admin
- have a user token scope of
admin
Additionally, the app using the token must be installed at the org level.
Building your HTTP request {#http_request}:
Example Request:
{
"token":"xoxp-..."
}
Example Response:
{
"ok":true,
"trusted_cidr":["8.8.8.8/24","8.8.4.4/22"],
"trusted_asns":[12345,12344]
}