open-vault/website/source/docs/http/sys-capabilities-accessor.html.md
2016-03-09 09:48:32 -05:00

997 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"]
}
```