---
title: "Revokes a lease immediately."
method: POST
path: "/sys/leases/revoke/{url_lease_id}"
tags: ["system"]
---

# Revokes a lease immediately.

`POST /sys/leases/revoke/{url_lease_id}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/lensesio/apis/hashicorp-vault-api/docs/sys/leases/revoke/:url_lease_id/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- SystemLeasesRevokeLeaseRequest
  - `lease_id` string: The lease identifier to renew. This is included with a lease.
  - `sync` boolean: Whether or not to perform the revocation synchronously

## Response `200`

OK

---

[API](https://skmtc.dev/lensesio/apis/hashicorp-vault-api.md) - [All operations](https://skmtc.dev/lensesio/apis/hashicorp-vault-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lensesio/apis/hashicorp-vault-api/revisions/bd8194de0697?raw)
