---
title: "Update DHCP Lease"
method: PUT
path: "/network/dhcp/lease"
tags: ["Network"]
---

# Update DHCP Lease

`PUT /network/dhcp/lease`

Update an existing static DHCP lease by ID

## Request body

- GithubComAlchemillahqSylveInternalInterfacesServicesNetworkModifyStaticMapRequest
  - `comments` string
  - `dhcpRangeId` integer, required
  - `duidId` integer
  - `hostname` string
  - `id` integer, required
  - `ipId` integer
  - `macId` integer

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseAny
  - `data` unknown
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/950e51f8af98/schema)
