919 B
919 B
layout | page_title | sidebar_current | description |
---|---|---|---|
http | HTTP API: /sys/capabilities | docs-http-auth-capabilities | The `/sys/capabilities` endpoint is used to fetch the capabilities of a token on a given path. |
/sys/capabilities
POST
- Description
- Returns the capabilities of the token on the given path.
- Method
- POST
- Parameters
-
- token required Token for which capabilities are being queried.
- path required Path on which the token's capabilities will be checked.
- Returns
-
```javascript { "capabilities": ["read", "list"] } ```