Skip to main content
Retrieve all permissions in your workspace. Results are paginated and sorted by their id.

Required Permissions

Your root key must have the following permission:
  • rbac.*.read_permission

Request

integer
default:"100"
Maximum number of permissions to return in a single response.Min: 1Max: 100Example: 50
string
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.Each response containing more results than the requested limit includes a cursor for subsequent pages.Leave empty or omit this field to start from the beginning of the permission list.Cursors are temporary and may expire - always handle cases where a cursor becomes invalid.Max length: 1024 charactersExample: eyJrZXkiOiJwZXJtXzEyMzQifQ==

Response

array
required
Array of permission objects.Each permission includes:
  • id: Permission identifier
  • name: Permission name
  • slug: URL-safe identifier
  • description: Permission description (if set)
  • createdAt: Creation timestamp
  • updatedAt: Last update timestamp
object
Pagination information for fetching additional results.
string
Token to fetch the next page of results.
boolean
Whether more results are available.

Examples

With Pagination

Response Example