Skip to main content
GET
List roles

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowAuthorization Code
Authorization URL
https://forge.laravel.com/oauth/authorize
Token URL
https://forge.laravel.com/oauth/token
Scopes1
organization:view
Allow members to view the organization

Path Parameters

organization
string
required

The organization slug

Query Parameters

page[size]
integer
default:30

The number of results that will be returned per page.

page[cursor]
string

The cursor to start the pagination from.

filter[name]
string
filter[permissions.name]
string
include
enum<string>[]
Available options:
permissions,
permissionsCount,
permissionsExists

Response

Paginated set of CustomRoleResource

data
CustomRoleResource · object[]
required
meta
object
required
included
PermissionResource · object[]