Skip to main content
GET
Get role

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

role
integer
required

The role ID

Response

CustomRoleResource

data
CustomRoleResource · object
required
included
PermissionResource · object[]