Get an ingress rule
GET/zones/{zone_id}/intel/sinkholes/{sinkhole_id}/ingresses/{ingress_id}
Get the specified ingress rule associated with a sinkhole. The sinkhole must belong to the same account as the zone.
Security
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
Path Parameters
Get an ingress rule
curl https://api.cloudflare.com/client/v4/zones/$ZONE_ID/intel/sinkholes/$SINKHOLE_ID/ingresses/$INGRESS_ID \
-H "X-Auth-Email: $CLOUDFLARE_EMAIL" \
-H "X-Auth-Key: $CLOUDFLARE_API_KEY"{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"success": true,
"result": {
"id": "de32ae5203724ed08dcc26e971a4d22f",
"cidr": "192.0.2.0/24",
"created_on": "2023-06-01T10:00:00Z",
"modified_on": "2023-06-15T14:30:00Z",
"sinkhole_id": "93defa6e909e464e8c89a85859f36d3c",
"zone_tag": "4c961e9d94f40aa922775483b9ee18cf"
}
}Returns Examples
{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"success": true,
"result": {
"id": "de32ae5203724ed08dcc26e971a4d22f",
"cidr": "192.0.2.0/24",
"created_on": "2023-06-01T10:00:00Z",
"modified_on": "2023-06-15T14:30:00Z",
"sinkhole_id": "93defa6e909e464e8c89a85859f36d3c",
"zone_tag": "4c961e9d94f40aa922775483b9ee18cf"
}
}