mirror of
https://github.com/hashicorp/vault.git
synced 2026-04-04 16:46:06 -04:00
1.1 KiB
1.1 KiB
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| http | HTTP API: /sys/wrapping/unwrap | docs-http-wrapping-unwrap | The '/sys/wrapping/unwrap' endpoint unwraps a wrapped response |
/sys/wrapping/unwrap
POST
- Description
- Returns the original response inside the given wrapping token. Unlike simply reading `cubbyhole/response`, this endpoint provides additional validation checks on the token, and returns the original value on the wire rather than a JSON string representation of it.
- Method
- POST
- URL
- `/sys/wrapping/unwrap`
- Parameters
-
- token required The wrapping token ID.
- Returns
-
```javascript { "request_id": "8e33c808-f86c-cff8-f30a-fbb3ac22c4a8", "lease_id": "", "lease_duration": 2592000, "renewable": false, "data": { "zip": "zap" }, "warnings": null } ```