Getting the DHCP Pools information via API
I need to get the informations under DHCP pools to monitor the percentages of each subnet per Site Socket. However, I am having issue when pulling the "dhcpPools" and saying that permission denied error.
Is there a query for graphql that can call this such informations in CATO?
this is my query:
query dhcpPools($accountID: ID!, $siteId: ID!, $protoId: ID!, $search: String) {
dhcpPools(
accountID: $accountID
siteId: $siteId
protoId: $protoId
search: $search
) {
dhcpPools {
...DhcpPoolData
__typename
}
__typename
}
}
fragment DhcpPoolData on DhcpPool {
subnetRange {
...EntityData
__typename
}
dhcpRange {
...EntityData
__typename
}
allocatedIPs
availableIPs
__typename
}
fragment EntityData on Entity {
id
type
name
__typename
}
this is my variable:
{
"accountID": "2015",
"siteId": "105762",
"protoId": "1000000070",
"search": ""
}