LIST FAILED ORGANIZATION INVITATIONS
The return hash contains `failed_at` and `failed_reason` fields which represent
the time at which the invitation failed and the reason for the failure.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_FAILED_ORGANIZATION_INVITATIONS])
LIST ORGANIZATION WEBHOOKS
To use this endpoint, you must be an organization owner and have `admin:org_hook`
scope. OAuth apps can't interact with webhooks they didn't create; users
have similar restrictions with OAuth
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ORGANIZATION_WEBHOOKS])
CREATE AN ORGANIZATION WEBHOOK
To use the endpoint for posting JSON payloads, one must be an organization
owner with `admin:org_hook` scope for OAuth or classic tokens. OAuth apps
can't interact with non-owned webhooks, and
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_AN_ORGANIZATION_WEBHOOK])
GET AN ORGANIZATION WEBHOOK
The text describes an API endpoint to get an organization's webhook config.
Only organization owners can use it, requiring `admin:org_hook` scope for
OAuth and personal tokens. OAuth apps can'
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_AN_ORGANIZATION_WEBHOOK])
UPDATE AN ORGANIZATION WEBHOOK
Updating an organization's webhook could reset its `secret`. Supply the
same or new `secret` to prevent deletion. Use a designated endpoint for
`config` changes. User role and OAuth app abilit
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_AN_ORGANIZATION_WEBHOOK])
DELETE AN ORGANIZATION WEBHOOK
To use this endpoint, you must be an organization owner and have tokens
with `admin:org_hook` scope. OAuth apps can't manage webhooks they didn't
create, nor can users manage those created by
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_AN_ORGANIZATION_WEBHOOK])
GET A WEBHOOK CONFIGURATION FOR AN ORGANIZATION
The text discusses retrieving an organization's webhook configuration, requiring
ownership and `admin:org_hook` scope for access. It notes limitations on
viewing or editing webhooks based on t
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_WEBHOOK_CONFIGURATION_FOR_AN_ORGANIZATION])
UPDATE A WEBHOOK CONFIGURATION FOR AN ORGANIZATION
Updates webhook config for organizations, allowing changes to `active` state
and `events`. Requires organization owner status and `admin:org_hook` scope
for tokens. Restrictions apply to OAuth
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_A_WEBHOOK_CONFIGURATION_FOR_AN_ORGANIZATION])
LIST DELIVERIES FOR AN ORGANIZATION WEBHOOK
This endpoint lists webhook deliveries for an organization's webhook, accessible
to organization owners with `admin:org_hook` scope. OAuth apps can only
manage their own webhooks.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_DELIVERIES_FOR_AN_ORGANIZATION_WEBHOOK])
GET A WEBHOOK DELIVERY FOR AN ORGANIZATION WEBHOOK
This endpoint lets organization owners retrieve a delivery for their organization's
webhook, requiring `admin:org_hook` scope. OAuth apps can't manage others'
webhooks, and users can't manage
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_WEBHOOK_DELIVERY_FOR_AN_ORGANIZATION_WEBHOOK])
REDELIVER A DELIVERY FOR AN ORGANIZATION WEBHOOK
To redeliver a webhook delivery in an organization, you must be the owner.
Use `admin:org_hook` scope with OAuth or personal access tokens. OAuth apps
can't interact with non-owned webhooks, n
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REDELIVER_A_DELIVERY_FOR_AN_ORGANIZATION_WEBHOOK])
PING AN ORGANIZATION WEBHOOK
Triggering a ping event requires being an organization owner and the `admin:org_hook`
scope for OAuth or classic tokens. OAuth apps can't interact with non-self-created
webhooks, nor can users
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_PING_AN_ORGANIZATION_WEBHOOK])
LIST APP INSTALLATIONS FOR AN ORGANIZATION
This endpoint provides a list of all GitHub Apps installed on repositories
within an organization, viewable by organization owners. OAuth and personal
access tokens require `admin:read` scope.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_APP_INSTALLATIONS_FOR_AN_ORGANIZATION])
LIST PENDING ORGANIZATION INVITATIONS
The return hash includes a `role` field indicating the Organization Invitation
role (values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`).
If non-GitHub member, `login` field
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_PENDING_ORGANIZATION_INVITATIONS])
CREATE AN ORGANIZATION INVITATION
Owners can invite users to an organization via GitHub ID or email. Invitations
trigger notifications and rapid use may cause rate limiting. Check GitHub's
API rate limits and best practices fo
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_AN_ORGANIZATION_INVITATION])
CANCEL AN ORGANIZATION INVITATION
To cancel an organization invitation, the user must be an organization owner.
This action also triggers notifications.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CANCEL_AN_ORGANIZATION_INVITATION])
LIST ORGANIZATION INVITATION TEAMS
List all teams associated with an invitation. In order to see invitations
in an organization, the authenticated user must be an organization owner.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ORGANIZATION_INVITATION_TEAMS])
LIST ORGANIZATION MEMBERS
List all users who are members of an organization. If the authenticated
user is also a member of this organization then both concealed and public
members will be returned.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ORGANIZATION_MEMBERS])
CHECK ORGANIZATION MEMBERSHIP FOR A USER
Check if a user is, publicly or privately, a member of the organization.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CHECK_ORGANIZATION_MEMBERSHIP_FOR_A_USER])
REMOVE AN ORGANIZATION MEMBER
Removing a user from this list will remove them from all teams and they
will no longer have any access to the organization's repositories.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_AN_ORGANIZATION_MEMBER])
GET ORGANIZATION MEMBERSHIP FOR A USER
In order to get a user's membership with an organization, the authenticated
user must be an organization member. The `state` parameter in the response
can be used to identify the user's member
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_ORGANIZATION_MEMBERSHIP_FOR_A_USER])
SET ORGANIZATION MEMBERSHIP FOR A USER
Only organization owners can add or update members' roles; new invites and
role changes prompt email notifications. Invitation limits are 50 or 500
per day based on the organization's age and
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_ORGANIZATION_MEMBERSHIP_FOR_A_USER])
REMOVE ORGANIZATION MEMBERSHIP FOR A USER
To remove a user from an organization, the actioner must be an owner. This
process ejects active members or cancels pending invitations, with the specified
user notified by email.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_ORGANIZATION_MEMBERSHIP_FOR_A_USER])
LIST ORGANIZATION FINE GRAINED PERMISSIONS FOR AN ORGANIZATION
Guidance on using fine-grained permissions for custom organization and repository
roles, including required user status and tokens with `admin:org` scope.
For more, visit GitHub docs on organi
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ORGANIZATION_FINE_GRAINED_PERMISSIONS_FOR_AN_ORGANIZATION])
GET ALL ORGANIZATION ROLES FOR AN ORGANIZATION
The text lists roles in an organization, specifying access requires being
an administrator, a user with specific permissions, or using tokens with
`admin:org` scope. For more, see the provided
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_ALL_ORGANIZATION_ROLES_FOR_AN_ORGANIZATION])
CREATE A CUSTOM ORGANIZATION ROLE
Custom organization roles allow for tailored permissions, requiring admin
status or certain permissions to access. OAuth tokens must have `admin:org`
scope. For more, see GitHub's documentatio
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_CUSTOM_ORGANIZATION_ROLE])
REMOVE ALL ORGANIZATION ROLES FOR A TEAM
This endpoint removes all organization roles from a team, requiring an admin
user with `admin:org` scope via OAuth or personal access tokens. For details
on roles, check GitHub's documentation
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_ALL_ORGANIZATION_ROLES_FOR_A_TEAM])
ASSIGN AN ORGANIZATION ROLE TO A TEAM
The text details how to assign an organization role to a team, requiring
an admin user and `admin:org` scope for OAuth or personal access tokens.
For more, visit the provided GitHub documentat
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ASSIGN_AN_ORGANIZATION_ROLE_TO_A_TEAM])
REMOVE AN ORGANIZATION ROLE FROM A TEAM
This endpoint allows organization administrators to remove a role from a
team, requiring `admin:org` scope for OAuth or personal access tokens. For
details on organization roles, visit GitHub'
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_AN_ORGANIZATION_ROLE_FROM_A_TEAM])
REMOVE ALL ORGANIZATION ROLES FOR A USER
This endpoint allows an organization's admin to revoke all assigned roles
from a user. It requires an `admin:org` scope for OAuth and personal access
tokens to access. For more on roles, visit
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_ALL_ORGANIZATION_ROLES_FOR_A_USER])
ASSIGN AN ORGANIZATION ROLE TO A USER
This text explains how to assign organization roles to members, requiring
administrator access and `admin:org` scope for OAuth or personal tokens.
More info at GitHub Docs on managing access w
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ASSIGN_AN_ORGANIZATION_ROLE_TO_A_USER])
REMOVE AN ORGANIZATION ROLE FROM A USER
To remove a user's org role, admins must use the `admin:org` endpoint with
OAuth or personal tokens. See GitHub documentation for more.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_AN_ORGANIZATION_ROLE_FROM_A_USER])
GET AN ORGANIZATION ROLE
This text explains how to get an organization role, requiring the user to
be an admin or have specific permissions. For details, see GitHub's documentation
on managing access with roles. OAuth
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_AN_ORGANIZATION_ROLE])