open-vault/website/source/docs/http/sys-capabilities-accessor.h...

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