List Organization Members
Description
Use the step to get the list of all users who are members of an organization
Reference
- API documentation:
https://docs.github.com/en/rest/orgs/members?apiVersion=2022-11-28#list-organization-members
Configurations
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Name of the step. The name must be unique in a single workflow. The field is mandatory. |
| Connection | ||
| 2 | Access Token | Specify an access token for authentication. Note: See Appendix: Generate an Access Token to generate an access token. The data type is a secure string and the field is mandatory. |
| 3 | Test Connection | Click Test Connection to verify whether the connection is established or not. |
| Input tab: | ||
| Input Fields: | ||
| 4 | Organization Name | Specify the owner or organization name to get the organization list. The field is mandatory. |
| 5 | Filter | Specify the filter option to return the filtered members. Available options are: - 2fa_disabled - all - Default: all |
| 6 | Role | Specify the role to return the filter members by their role. Available options are: - all - admin -member Default value: all |
| Output tab: | ||
| Output Filed | ||
| 7 | Accept Field As JSON | Select the Checkbox to get output in JSON format. Note: If you select the checkbox, then the JSON Output Field is available, else you can specify the details in the Table Fields. |
| 8 | JSON Output Field | Specify a name for the output field, which will hold the output value in JSON format. Default value: JSON |
| OR | ||
| 9 | Table Fields: | |
| 9.a | Field Name | Click to open the field explore with Issue Field Names (Display names). Select the fields whose values are to be fetched. |
| 9.b | Output Field Name | Specify an output field name to hold the field value. |