1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/content/codespaces/developing-in-codespaces/deleting-a-codespace.md
Peter Bengtsson 8e25d1e40d remove all uses of include tool-switcher (part 1) (#24220)
* remove all uses of `include tool-switcher`

* two more files
2022-01-11 21:31:12 +00:00

1.8 KiB

title, intro, product, redirect_from, versions, type, topics, shortTitle
title intro product redirect_from versions type topics shortTitle
Deleting a codespace You can delete a codespace you no longer need. {% data reusables.gated-features.codespaces %}
/github/developing-online-with-github-codespaces/deleting-a-codespace
/github/developing-online-with-codespaces/deleting-a-codespace
fpt ghec
* *
how_to
Codespaces
Fundamentals
Developer
Delete a codespace

{% data reusables.codespaces.concurrent-codespace-limit %}

{% note %}

Note: Only the person who created a codespace can delete it. There is currently no way for organization owners to delete codespaces created within their organization.

{% endnote %}

{% webui %}

  1. Navigate to the "Your Codespaces" page at github.com/codespaces.

  2. To the right of the codespace you want to delete, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %}, then click {% octicon "trash" aria-label="The trash icon" %} Delete

    Delete button

{% endwebui %}

{% vscode %}

{% data reusables.codespaces.deleting-a-codespace-in-vscode %}

{% endvscode %}

{% cli %}

{% data reusables.cli.cli-learn-more %}

To delete a codespace use the gh codespace delete subcommand and then choose a codespace from the list that's displayed.

gh codespace delete

If you have unsaved changes, you'll be prompted to confirm deletion. You can use the -f flag to force deletion, avoiding this prompt.

For more information about this command, see the {% data variables.product.prodname_cli %} manual.

{% endcli %}

Further reading