Policy > Networking > IP Management > DHCP > DHCP Server Configs

Read DHCP server statistics

Read DHCP server statistics

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/dhcp-server-configs/<config-id>/stats
/policy/api/v1/global-infra/dhcp-server-configs/<config-id>/stats
Request Headers:
n/a
Query Parameters:
DhcpServerRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/dhcp-server-configs/default/stats?enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DhcpServerStatistics+

Example Response:

{ "dhcp_server_id": "0c660543-5edf-463a-ace8-bec9b9651d02", "timestamp": 1578798980607, "discovers": 0, "offers": 0, "requests": 0, "acks": 0, "nacks": 0, "declines": 0, "releases": 0, "informs": 0, "errors": 0 }

Required Permissions:

read

Feature:

policy_dhcp

Additional Errors: