You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List the organization members assigned a specific role within the context of an organization.
33651
+
</dd>
33652
+
</dl>
33653
+
</dd>
33654
+
</dl>
33655
+
33656
+
#### 🔌 Usage
33657
+
33658
+
<dl>
33659
+
<dd>
33660
+
33661
+
<dl>
33662
+
<dd>
33663
+
33664
+
```python
33665
+
from auth0.management import Auth0
33666
+
from auth0.management.environment import Auth0Environment
33667
+
33668
+
client = Auth0(
33669
+
token="<token>",
33670
+
environment=Auth0Environment.DEFAULT,
33671
+
)
33672
+
33673
+
client.organizations.roles.members.list(
33674
+
id="id",
33675
+
role_id="role_id",
33676
+
from_="from",
33677
+
take=1,
33678
+
fields="fields",
33679
+
include_fields=True,
33680
+
)
33681
+
33682
+
```
33683
+
</dd>
33684
+
</dl>
33685
+
</dd>
33686
+
</dl>
33687
+
33688
+
#### ⚙️ Parameters
33689
+
33690
+
<dl>
33691
+
<dd>
33692
+
33693
+
<dl>
33694
+
<dd>
33695
+
33696
+
**id:** `str` — ID of the organization.
33697
+
33698
+
</dd>
33699
+
</dl>
33700
+
33701
+
<dl>
33702
+
<dd>
33703
+
33704
+
**role_id:** `str` — ID of the role to retrieve the assigned members for.
33705
+
33706
+
</dd>
33707
+
</dl>
33708
+
33709
+
<dl>
33710
+
<dd>
33711
+
33712
+
**from:** `typing.Optional[str]` — Optional Id from which to start selection.
33713
+
33714
+
</dd>
33715
+
</dl>
33716
+
33717
+
<dl>
33718
+
<dd>
33719
+
33720
+
**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. Values above the maximum permitted size are capped.
33721
+
33722
+
</dd>
33723
+
</dl>
33724
+
33725
+
<dl>
33726
+
<dd>
33727
+
33728
+
**fields:** `typing.Optional[str]` — 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.
33729
+
33730
+
</dd>
33731
+
</dl>
33732
+
33733
+
<dl>
33734
+
<dd>
33735
+
33736
+
**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). Defaults to true.
0 commit comments