orgs
List custom repository roles in an organization
List the custom repository roles available in this organization. In order to see custom repository roles in an organization, the authenticated user must be an organization owner.
To use this endpoint the authenticated user must be an administrator for the organization or of an repository of the organization and must use an access token with admin:org repo scope. GitHub Apps must have the organization_custom_roles:read organization permission to use this endpoint.
For more information on custom repository roles, see "About custom repository roles."
get/organizations/{organization_id}/custom_roles
Path parameters
organization_idstring required
The unique identifier of the organization.
Response
Response - list of custom role names
Example response
{
"total_count": 3
}