codespaces

Delete a codespace from the organization

Deletes a user's codespace.

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

delete/orgs/{org}/members/{username}/codespaces/{codespace_name}

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/members/{username}/codespaces/{codespace_name}
  • Auth: none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

usernamestring required

The handle for the GitHub user account.

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.