---
title: "Removes a lease."
method: DELETE
path: "/leases"
---

# Removes a lease.

`DELETE /leases`

## Request body

- object
  - `principalId` string, required
  - `accountId` string, required

## Response `201`

Lease successfully removed

## Other responses

- `403` — Failed to authenticate request

## Changes

- **2019-10-21** `eed5055f8eb6` — 1 breaking, 3 info
  - removed the success response with the status `200`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `500`
  - added the success response with the status `201`

[Change history](https://skmtc.dev/optum/apis/namespace/changes/leases/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/eed5055f8eb6/schema)
