open-vault/website/source/docs/http/sys-revoke.html.md

30 lines
460 B
Markdown
Raw Normal View History

2015-04-19 05:39:43 +00:00
---
layout: "http"
page_title: "HTTP API: /sys/revoke"
sidebar_current: "docs-http-lease-revoke-single"
2015-04-19 05:39:43 +00:00
description: |-
The `/sys/revoke` endpoint is used to revoke secrets.
---
# /sys/revoke
<dl>
<dt>Description</dt>
<dd>
Revoke a secret immediately.
</dd>
2015-04-19 05:39:43 +00:00
<dt>Method</dt>
<dd>PUT</dd>
2015-04-19 05:39:43 +00:00
<dt>URL</dt>
<dd>`/sys/revoke/<lease id>`</dd>
2015-04-19 05:39:43 +00:00
<dt>Parameters</dt>
<dd>None</dd>
2015-04-19 05:39:43 +00:00
<dt>Returns</dt>
<dd>A `204` response code.
</dd>
2015-04-19 05:39:43 +00:00
</dl>