UPDATE A CUSTOM ORGANIZATION ROLE
Updates an existing custom org role, affecting all assignees. Requires administrator
status or specific permissions. OAuth and personal access tokens need `admin:org`
scope for access. More de
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_A_CUSTOM_ORGANIZATION_ROLE])
DELETE A CUSTOM ORGANIZATION ROLE
Deletes a custom org role, requiring the user to be an org admin or have
specific permissions. OAuth tokens need `admin:org` scope. More info at
GitHub docs on managing access with roles.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_A_CUSTOM_ORGANIZATION_ROLE])
LIST TEAMS THAT ARE ASSIGNED TO AN ORGANIZATION ROLE
This text details an API endpoint for listing teams by organization role,
requiring admin status and `admin:org` scope for access. For details on
roles, visit the provided GitHub link.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_TEAMS_THAT_ARE_ASSIGNED_TO_AN_ORGANIZATION_ROLE])
LIST USERS THAT ARE ASSIGNED TO AN ORGANIZATION ROLE
This text describes an API endpoint for listing organization members by
role, requiring administrator access and the `admin:org` scope for OAuth
or classic tokens. More details on roles are av
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_USERS_THAT_ARE_ASSIGNED_TO_AN_ORGANIZATION_ROLE])
LIST OUTSIDE COLLABORATORS FOR AN ORGANIZATION
List all users who are outside collaborators of an organization.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_OUTSIDE_COLLABORATORS_FOR_AN_ORGANIZATION])
CONVERT AN ORGANIZATION MEMBER TO OUTSIDE COLLABORATOR
Converting an organization member to an outside collaborator restricts access
to only those repositories allowed by current team membership, removing
them from the organization. This action ma
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CONVERT_AN_ORGANIZATION_MEMBER_TO_OUTSIDE_COLLABORATOR])
REMOVE OUTSIDE COLLABORATOR FROM AN ORGANIZATION
Removing a user from this list will remove them from all the organization's
repositories.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_OUTSIDE_COLLABORATOR_FROM_AN_ORGANIZATION])
LIST ORG RESOURCES WITH PERSONAL TOKENS
Lists requests from organization members to access organization resources
with a fine-grained personal access token. Only GitHub Apps can use this
endpoint.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ORG_RESOURCES_WITH_PERSONAL_TOKENS])
REVIEW RESOURCE REQUESTS WITH FINE GRAINED TOKENS
Approves or denies multiple pending requests to access organization resources
via a fine-grained personal access token. Only GitHub Apps can use this
endpoint.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REVIEW_RESOURCE_REQUESTS_WITH_FINE_GRAINED_TOKENS])
REVIEW ACCESS WITH PERSONAL TOKEN
Approves or denies a pending request to access organization resources via
a fine-grained personal access token. Only GitHub Apps can use this endpoint.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REVIEW_ACCESS_WITH_PERSONAL_TOKEN])
LIST REPO ACCESS BY TOKEN
Lists the repositories a fine-grained personal access token request is requesting
access to. Only GitHub Apps can use this endpoint.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_REPO_ACCESS_BY_TOKEN])
LIST ORG RESOURCE ACCESS TOKENS
Lists approved fine-grained personal access tokens owned by organization
members that can access organization resources. Only GitHub Apps can use
this endpoint.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_ORG_RESOURCE_ACCESS_TOKENS])
UPDATE RESOURCE ACCESS WITH TOKENS
Updates the access organization members have to organization resources via
fine-grained personal access tokens. Limited to revoking a token's existing
access. Only GitHub Apps can use this end
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_RESOURCE_ACCESS_WITH_TOKENS])
UPDATE TOKEN ORG ACCESS
Updates the access an organization member has to organization resources
via a fine-grained personal access token. Limited to revoking the token's
existing access. Limited to revoking a token's
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_TOKEN_ORG_ACCESS])
LIST TOKEN ACCESS REPOSITORIES
Lists the repositories a fine-grained personal access token has access to.
Only GitHub Apps can use this endpoint.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_TOKEN_ACCESS_REPOSITORIES])
GET ALL CUSTOM PROPERTIES FOR AN ORGANIZATION
Gets all custom properties defined for an organization. Organization members
can read these properties.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_ALL_CUSTOM_PROPERTIES_FOR_AN_ORGANIZATION])
CREATE OR UPDATE CUSTOM PROPERTIES FOR AN ORGANIZATION
The endpoint allows creating or updating custom properties for an organization
in bulk, accessible to organization administrators or users with the `custom_properties_org_definitions_manager`
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_OR_UPDATE_CUSTOM_PROPERTIES_FOR_AN_ORGANIZATION])
GET A CUSTOM PROPERTY FOR AN ORGANIZATION
Gets a custom property that is defined for an organization. Organization
members can read these properties.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_CUSTOM_PROPERTY_FOR_AN_ORGANIZATION])
CREATE OR UPDATE A CUSTOM PROPERTY FOR AN ORGANIZATION
This endpoint allows creating or updating an organization's custom property.
It requires the user to be an administrator or have specific permission
(`custom_properties_org definitions_manager
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_OR_UPDATE_A_CUSTOM_PROPERTY_FOR_AN_ORGANIZATION])
REMOVE A CUSTOM PROPERTY FOR AN ORGANIZATION
This endpoint deletes an organization's custom property. It requires the
user to be an organization admin or a user/team with the `custom_properties_org_definitions_manager`
permission.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_A_CUSTOM_PROPERTY_FOR_AN_ORGANIZATION])
LIST CUSTOM PROPERTY VALUES FOR ORGANIZATION REPOSITORIES
Lists organization repositories with all of their custom property values.
Organization members can read these properties.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_CUSTOM_PROPERTY_VALUES_FOR_ORGANIZATION_REPOSITORIES])
MANAGE CUSTOM PROPERTIES FOR ORG REPOS
Update or create custom properties for up to 30 org. repositories per request.
Null values remove the property. Requires org admin or specific permission.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_MANAGE_CUSTOM_PROPERTIES_FOR_ORG_REPOS])
LIST PUBLIC ORGANIZATION MEMBERS
Members of an organization can choose to have their membership publicized
or not.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_PUBLIC_ORGANIZATION_MEMBERS])
CHECK PUBLIC ORGANIZATION MEMBERSHIP FOR A USER
Check if the provided user is a public member of the organization.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CHECK_PUBLIC_ORGANIZATION_MEMBERSHIP_FOR_A_USER])
SET PUBLIC ORGANIZATION MEMBERSHIP FOR THE AUTHENTICATED USER
Users can publicize only their own memberships. When using this endpoint,
set the `Content-Length` to zero. For more, see GitHub's HTTP method guide.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_PUBLIC_ORGANIZATION_MEMBERSHIP_FOR_THE_AUTHENTICATED_USER])
REMOVE PUBLIC ORG MEMBERSHIP
Removes the public membership for the authenticated user from the specified
organization, unless public visibility is enforced by default.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_PUBLIC_ORG_MEMBERSHIP])
LIST SECURITY MANAGER TEAMS
The text explains managing security in an organization, stating administrators
or security managers need OAuth or tokens with `read:org` scope. Details
are on GitHub.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_SECURITY_MANAGER_TEAMS])