---
title: "Get DHCP pools configured on the gateway"
method: GET
path: "/network-monitoring/v1/gateways/{serial-number}/dhcp-pools"
tags: ["Gateways"]
---

# Get DHCP pools configured on the gateway

`GET /network-monitoring/v1/gateways/{serial-number}/dhcp-pools`

## Request

- Base URL: `https://sso.common.cloud.hpe.com`
- URL: `https://sso.common.cloud.hpe.com/network-monitoring/v1/gateways/{serial-number}/dhcp-pools`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://sso.common.cloud.hpe.com/as/token.oauth2`

Retrieves DHCP pools that are configured in the gateway.

## Path parameters

- `serial-number` string, required: The gateway serial number.

## Query parameters

- `sort` string
- `limit` integer
- `next` string: Specifies the pagination cursor for the next page of resources.

## Response `200`

Object containing information about the DHCP pools configured in the gateway.

- GatewayDhcpPoolListResponse
  - `items` object[], required
    - `poolName` string, required: The name of the DHCP pool.
    - `vlanId` integer, required: The VLAN ID configured in the pool.
    - `vlanName` string, required: The name of the VLAN.
    - `subnet` string, required: The subnet of the DHCP pool.
    - `leaseDuration` integer, required: The lease duration of the DHCP pool in seconds.
    - `poolSize` integer, required: The size of the DHCP pool, i.e., the total number of addresses in the pool.
    - `currentLeases` integer, required: The number of currently leased addresses from the pool.
    - `utilization` integer, required: The percentage of the pool that is currently leased.
    - `availableAddresses` integer, required: The number of available addresses in the pool.
  - `count` integer, required: The number of items in the response.
  - `total` integer: Specifies the total number of items available for a given filter query.
  - `next` string, int32, required: Indicates the next page number, or null if there are no further pages.

## Other responses

- `400`: Invalid input received.
- `401`: Unauthorized. Authentication credentials are required or invalid.
- `403`: Forbidden: Access is denied.
- `404`: Not Found error.
- `429`: Too Many Requests. The user has sent too many requests in a given amount of time.
- `500`: Internal Server Error. An unexpected error occurred on the server.

---

[API](https://skmtc.dev/arubanetworks/apis/authorization.md) - [All operations](https://skmtc.dev/arubanetworks/apis/authorization/llms.txt) - [OpenAPI document](https://skmtc.dev/arubanetworks/apis/authorization/revisions/74c95058b11f?raw)
