open-vault/website/source/docs/http/sys-capabilities-self.html.md
2017-03-06 16:11:05 -05:00

854 B

layout page_title sidebar_current description
http HTTP API: /sys/capabilities-self docs-http-auth-capabilities-self The `/sys/capabilities-self` endpoint is used to fetch the capabilities of client token on a given path.

/sys/capabilities-self

POST

Description
Returns the capabilities of client token on the given path. Client token is the Vault token with which this API call is made.
Method
POST
Parameters
  • path required Path on which the client token's capabilities will be checked.
Returns
```javascript
{
  "capabilities": ["read", "list"]
}
```