Skip to main content

List Organization Members

Description

This step retrieves a list of members in a GitHub organization. You provide the organization name, and the step returns the member details. This is a row-generating step, so it must be the first step in a workflow. Use this step in workflows that audit organization membership, generate team reports, or verify user access across your GitHub organization.

Reference

  • API documentation: https://docs.github.com/en/rest/orgs/members?apiVersion=2022-11-28#list-organization-members

Configurations

No.Field NameDescription
1Step NameName of the step. The name must be unique in a single workflow.
The field is mandatory.
Connection
2Access TokenSpecify 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.
3Test ConnectionClick Test Connection to verify whether the connection is established or not.
Input tab:
Input Fields:
4Organization NameSpecify the owner or organization name to get the organization list.
The field is mandatory.
5FilterSpecify the filter option to return the filtered members.
Available options are:
- 2fa_disabled
- all
- Default: all
6RoleSpecify the role to return the filter members by their role.
Available options are:
- all
- admin
-member
Default value: all
Output tab:
Output Filed
7Accept Field As JSONSelect 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.
8JSON Output FieldSpecify a name for the output field, which will hold the output value in JSON format.
Default value: JSON
OR
9Table Fields:
9.aField NameClick to open the field explore with Issue Field Names (Display names). Select the fields whose values are to be fetched.
9.bOutput Field NameSpecify an output field name to hold the field value.