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

995 B

layout page_title sidebar_current description
http HTTP API: /sys/capabilities-accessor docs-http-auth-capabilities-accessor The `/sys/capabilities-accessor` endpoint is used to fetch the capabilities of the token associated with an accessor, on the given path.

/sys/capabilities-accessor

POST

Description
Returns the capabilities of the token associated with an accessor, on the given path.
Method
POST
Parameters
  • accessor required Accessor of the token.
  • path required Path on which the token's capabilities will be checked.
Returns
```javascript
{
  "capabilities": ["read", "list"]
}
```