---
name: "gh-project-close"
section: "1"
platform: "linux"
package: "github-cli"
version: "2.102.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gh-project-close"
---

# gh-project-close(1)

Close a project

## NAME

gh-project-close - Close a project

## SYNOPSIS

**gh project close \[\<number\>\] \[flags\]**

## OPTIONS

- **--format** **\<string\>**

  Output format: {json}

- **-q**, **--jq** **\<expression\>**

  Filter JSON output using a jq expression

- **--owner** **\<string\>**

  Login of the owner. Use "@me" for the current user.

- **-t**, **--template** **\<string\>**

  Format JSON output using a Go template; see "gh help formatting"

- **--undo**

  Reopen a closed project

## EXIT CODES

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

## EXAMPLE

```
# Close project "1" owned by monalisa
$ gh project close 1 --owner monalisa
# Reopen closed project "1" owned by github
$ gh project close 1 --owner github --undo
```

## SEE ALSO

**[gh-project(1)](/gh-project/1.md)**
