2015-04-19 05:39:43 +00:00
|
|
|
---
|
|
|
|
layout: "http"
|
|
|
|
page_title: "HTTP API: /sys/revoke"
|
2015-04-20 18:50:21 +00:00
|
|
|
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>
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Description</dt>
|
|
|
|
<dd>
|
|
|
|
Revoke a secret immediately.
|
|
|
|
</dd>
|
2015-04-19 05:39:43 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Method</dt>
|
|
|
|
<dd>PUT</dd>
|
2015-04-19 05:39:43 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>URL</dt>
|
|
|
|
<dd>`/sys/revoke/<lease id>`</dd>
|
2015-04-19 05:39:43 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Parameters</dt>
|
|
|
|
<dd>None</dd>
|
2015-04-19 05:39:43 +00:00
|
|
|
|
2015-04-22 23:47:11 +00:00
|
|
|
<dt>Returns</dt>
|
|
|
|
<dd>A `204` response code.
|
|
|
|
</dd>
|
2015-04-19 05:39:43 +00:00
|
|
|
</dl>
|