---
name: "gt-team-repo-remove"
section: "1"
platform: "linux"
package: "gitea-cli"
version: "1.0.0-1"
release: "Arch Linux 2026-11-07"
platforms: ["linux"]
url: "https://carta.tech/man/gt-team-repo-remove"
---

# gt-team-repo-remove(1)

Revoke team access to repositories

## NAME

gt-team-repo-remove - Revoke team access to repositories

## SYNOPSIS

**gt team repo remove \<team\> \<repository\>... \[flags\]**

## DESCRIPTION

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

## EXAMPLE

```
$ gt team repo remove acme/developers legacy
```

## SEE ALSO

**[gt-team-repo(1)](/man/gt-team-repo/1.md)**
