775 B
775 B
layout | page_title | sidebar_current | description |
---|---|---|---|
api | /sys/revoke - HTTP API | docs-http-system-revoke/ | The `/sys/revoke` endpoint is used to revoke secrets. |
/sys/revoke
The /sys/revoke
endpoint is used to revoke secrets.
Revoke Secret
This endpoint revokes a secret immediately.
Method | Path | Produces |
---|---|---|
PUT |
/sys/revoke/:lease_id |
204 (empty body) |
Parameters
lease_id
(string: <required>)
– Specifies the ID of the lease to renew.
Sample Request
$ curl \
--header "X-Vault-Token: ..." \
--request PUT \
https://vault.rocks/v1/sys/revoke/aws/creds/readonly-acbd1234