1GH-CODESPACE-DELETE(1)         GitHub CLI manual        GH-CODESPACE-DELETE(1)
2
3
4

NAME

6       gh-codespace-delete - Delete codespaces
7
8
9

SYNOPSIS

11       gh codespace delete [flags]
12
13
14

DESCRIPTION

16       Delete codespaces based on selection criteria.
17
18
19       All  codespaces  for  the authenticated user can be deleted, as well as
20       codespaces for a specific repository.  Alternatively,  only  codespaces
21       older than N days can be deleted.
22
23
24       Organization  administrators may delete any codespace billed to the or‐
25       ganization.
26
27
28

OPTIONS

30       --all  Delete all codespaces
31
32
33       -c, --codespace <string>
34              Name of the codespace
35
36
37       --days <N>
38              Delete codespaces older than N days
39
40
41       -f, --force
42              Skip confirmation for codespaces that contain unsaved changes
43
44
45       -o, --org <login>
46              The login handle of the organization (admin-only)
47
48
49       -R, --repo <repository>
50              Delete codespaces for a repository
51
52
53       -u, --user <username>
54              The username to delete codespaces for (used with --org)
55
56
57

SEE ALSO

59       gh-codespace(1)
60
61
62
63                                   Jan 2023             GH-CODESPACE-DELETE(1)
Impressum