立即开始
GitHub Tools

Github Add Or Update Team Membership For User

通过 Aident Loadout 使用 GitHub Tools 的 Github Add Or Update Team Membership For User。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Adds a GitHub user to a team or updates their role (member or maintainer), inviting them to the organization if not already a member; idempotent, returning current details if no change is made.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • orgstring
    必填
    The name of the GitHub organization. This name is not case-sensitive.
  • rolestring
    The role to assign to the user within the team. A 'maintainer' has broader permissions than a 'member', such as managing team members and settings.
  • usernamestring
    必填
    The GitHub username of the user to add or whose membership to update.
  • team_slugstring
    必填
    The slug (URL-friendly version) of the team's name. Must be lowercase with hyphens instead of spaces (e.g., 'my-team' not 'My Team'). Spaces will be automatically converted to hyphens and text will be lowercased.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源