GET /orgs/{org}/organization-roles/{role_id}
Gets an organization role that is available to this organization. For more information on organization roles, see "Using organization roles."
To use this endpoint, the authenticated user must be one of:
- An administrator for the organization.
- An organization member (or a member of a team) assigned a custom organization role that includes the View organization roles (
read_organization_custom_org_role) permission. For more information, see "Permissions for organization access."
OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
Servers
- https://api.github.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
org |
String | Yes |
The organization name. The name is not case sensitive. |
role_id |
Integer | Yes |
The unique identifier of the role. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.