codespaces

Delete a codespace for the authenticated user

Deletes a user's codespace.

OAuth app tokens and personal access tokens (classic) need the codespace scope to use this endpoint.

delete/user/codespaces/{codespace_name}

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/user/codespaces/{codespace_name}
  • Auth: none declared

Path parameters

codespace_namestring required

The name of the codespace.

Response

Accepted

object required

Changes

No recorded changes to this operation across all 83 revisions of this API.