rbac.*.read_permission(to read permissions in any workspace)
See the API reference for the full HTTP endpoint documentation.
Usage
Flags
The unique identifier of the permission to retrieve. Must be a valid permission ID that begins with
perm_ and exists within your workspace.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 permission details:--output=json, the full response envelope is returned:

