gh_teams_delete_memberships_by_username: Remove team membership.

Description Usage Arguments Details

Description

In order to remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. NOTE: This does not delete the user, it just removes their membership from the team.

Usage

1

Arguments

teamId

Id of team.

username

Name of a member.

...

Additional parameters to pass to gh. See details.

Details

Additional parameters that can be passed:

type

It takes values in: all, public, private, forks, sources, member. The default is: all

Accept

Is used to set specified media type.


ramnathv/gh3 documentation built on May 7, 2019, 12:53 a.m.