---
title: "Delete a lease by ID."
method: DELETE
path: "/leases/{id}"
---

# Delete a lease by ID.

`DELETE /leases/{id}`

## Path parameters

- `id` string, required

## Response `200`

OK

## Other responses

- `400` — "Failed to Parse Request Body" if the request body is blank or incorrectly formatted. or if there are no account leases found for the specified accountId or if the account specified is not already Active.
- `403` — Failed to authenticate request
- `500` — Server errors if the database cannot be reached.

## Changes

> 12 revisions in range; 1 could not be searched.

- **2020-01-23** `51ae3d7da539` — 1 info
  - endpoint added
- **2019-10-21** `eed5055f8eb6` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/optum/apis/namespace/changes/leases/:id/delete.md)

---

[API](https://skmtc.dev/optum/apis/namespace.md) · [All operations](https://skmtc.dev/optum/apis/namespace/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optum/namespace/revisions/11d73002ea62/schema)
