delete_team: Delete a team in GitHub

Description Usage Arguments Details Value Examples

View source: R/teams.R

Description

This function deletes a team from an organization in GitHub, as long as you have appropriate permissions. Care should be taken as it will not be recoverable.

Usage

1
delete_team(team, org, ...)

Arguments

team

(integer or string) The ID or name of the team.

org

(string) The login of the organization.

...

Parameters passed to gh_request().

Details

For more details see the GitHub API documentation:

Value

delete_team() returns a TRUE if successfully deleted.

Examples

1
2
3
4
5
6
7
## Not run: 

  # Delete a team
  delete_team("HeadCoos", "HairyCoos")


## End(Not run)

ChadGoymer/githapi documentation built on Oct. 22, 2021, 10:56 a.m.