--limit and --cursor flags to traverse large permission sets efficiently.
Required permissions:
rbac.*.read_permission
See the API reference for the full HTTP endpoint documentation.
Usage
Flags
Maximum number of permissions to return in a single response. Accepts a value between 1 and 100. Defaults to 100 when omitted.
Pagination cursor from a previous response to fetch the next page of permissions. Include this value when you need to retrieve additional permissions beyond the initial response. Leave empty or omit this flag to start from the beginning of the permission list. Cursors are temporary and may expire — always handle cases where a cursor becomes invalid.
Global Flags
| Flag | Type | Description |
|---|---|---|
--root-key | string | Override root key ($UNKEY_ROOT_KEY) |
--api-url | string | Override API base URL (default: https://api.unkey.com) |
--config | string | Path to config file (default: ~/.unkey/config.toml) |
--output | string | Output format — use json for raw JSON |
Examples
Output
Default output shows the request ID with latency, followed by the list of permissions:--output=json, the full response envelope including pagination metadata is returned:

