---
title: "Release Lease"
method: POST
path: "/v1/compute/leases/{lease_id}/release"
tags: ["compute-leases"]
---

# Release Lease

`POST /v1/compute/leases/{lease_id}/release`

Free the boxes under this lease: the given sessions, or everything.

With no ``session_ids`` the lease is marked released first, so a start that
is still in flight is refused (kernel start checks the lease), and the
lease sweep keeps freeing any row that lands late.

## Path parameters

- `lease_id` string, required

## Request body

- ReleaseLeaseRequest
  - `session_ids` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `abf76937a751` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/v1/compute/leases/:lease_id/release/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/397ad3a1d858?raw)
