Skip to content
Management API Reference

List roles of an organization

get/v2/organizations/{slug}/roles

Returns a list of org-level roles for the organization.

OAuth scopes

  • organizations:read

The fine-grained token must include the following permissions to access this endpoint:

  • members_read

Path parameters

  • slug
    Required
    string

    Organization slug

Response codes

  • 200
  • 401
  • 403
  • 429

Response (200)

1
{
2
"data": [
3
{
4
"type": "organization_role",
5
"attributes": {
6
"name": "developer"
7
}
8
}
9
]
10
}