---
title: "Adds a static lease"
method: POST
path: "/dhcp/add_static_lease"
tags: ["dhcp"]
---

# Adds a static lease

`POST /dhcp/add_static_lease`

## Request body

- DhcpStaticLease — DHCP static lease information
  - `mac` string, required
  - `ip` string, required
  - `hostname` string, required

## Response `200`

OK.

## Other responses

- `501` — Not implemented (for example, on Windows).

---

[API](https://skmtc.net/guardllamanet/apis/adguard-home.md) · [All operations](https://skmtc.net/guardllamanet/apis/adguard-home/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guardllamanet/adguard-home/versions/14ff21aeb363/schema)
