Skip to main content
GET
Get the members assigned to an organization role

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<organization-id>
required

ID of the organization.

role_id
string<role-id>
required

ID of the role to retrieve the assigned members for.

Query Parameters

from
string

Optional Id from which to start selection.

take
integer
default:50

Number of results per page. Defaults to 50. Values above the maximum permitted size are capped.

Required range: x >= 1
fields
string

Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.

include_fields
boolean
default:true

Whether specified fields are to be included (true) or excluded (false). Defaults to true.

Response

Role members successfully retrieved.

members
object[]
required

List of members assigned to the role within the organization.

next
string

Cursor for the next page of results. Absent when there are no more results.