gt-team-repo-remove1
Revoke team access to repositories
Usage
gt team
repo
remove
<team>
<repository> ...
[flags]
Overview
Revoke team access to repositories of its organization. Name the repositories alone, such as service, or as ORG/NAME. A team with access to all repositories keeps it; turn that off with gt team edit --all-repositories=false first.
Arguments
A team can be supplied as ORG/TEAM, such as acme/developers, where TEAM is the team's name or ID, or as its numeric ID alone.
Options
-h, --help[=false]
help for remove
Options inherited from parent commands
--debug[=false]
Log the method, URL, status, and duration of each HTTP request to stderr
--host=""
Gitea instance URL, including any base path
--interactive[=false]
Allow prompts with machine output
--no-input[=false]
Disable prompts and implicit editor/browser interactions
--sudo=""
Perform API requests as this user (requires an administrator account)
--user=""
Account name on the selected instance
-y, --yes[=false]
Accept confirmations without prompting
Examples
$ gt team repo remove acme/developers legacy