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

1.6 KiB

layout page_title sidebar_current description
http HTTP API: /sys/raw docs-http-debug-raw The `/sys/raw` endpoint is access the raw underlying store in Vault.

/sys/raw

GET

Description
Reads the value of the key at the given path. This is the raw path in the storage backend and not the logical path that is exposed via the mount system.
Method
GET
URL
`/sys/raw/`
Parameters
None
Returns
```javascript
{
  "value": "{'foo':'bar'}"
}
```

PUT

Description
Update the value of the key at the given path. This is the raw path in the storage backend and not the logical path that is exposed via the mount system.
Method
PUT
URL
`/sys/raw/`
Parameters
  • value required The value of the key.
Returns
`204` response code.

DELETE

Description
Delete the key with given path. This is the raw path in the storage backend and not the logical path that is exposed via the mount system.
Method
DELETE
URL
`/sys/raw/`
Parameters
None
Returns
`204` response code.