Get Blacklisted IPs API
POST /getBlacklistedIPs
Description
This endpoint retrieves a list of IP addresses that have been blacklisted.
Request
Endpoint: /getBlacklistedIPs
Method: POST
Body:
query getBlacklistedIPs {
getBlacklistedIPs {
id
ipAddress
}
}
GraphQL Variables:
{}
Example Request
cURL:
curl --location 'YOUR_API_ENDPOINT' \
--header 'Content-Type: application/json' \
--data '{"query":"query getBlacklistedIPs {\n getBlacklistedIPs {\n id\n ipAddress\n }\n}","variables":{}}'
Response
The response will include a list of blacklisted IP addresses with the following fields:
id
: Unique identifier of the blacklist record.ipAddress
: The IP address that has been blacklisted.