v2
latestOpenAPI 3.0.32026-07-261513102.9 KBRole Management
Get role details
Retrieves one built-in or Enterprise custom role.
get/v1/roles/{roleId}
Path parameters
roleIdstring required
Query parameters
org_idstring
Required when authenticating with a workspace-scoped API token: the git-provider organization id to target within the token's workspace. Ignored for organization and self-hosted keys.
include_permissionsboolean
include_user_countboolean
Response
Successfully retrieved role