Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.04 KB

deleteFromOrganization.md

File metadata and controls

52 lines (39 loc) · 1.04 KB
name example route scope type
Delete a codespace from the organization
octokit.rest.codespaces.deleteFromOrganization({ org, username, codespace_name })
DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}
codespaces
API method

Delete a codespace from the organization

Deletes a user's codespace.

You must authenticate using an access token with the admin:org scope to use this endpoint.

octokit.rest.codespaces.deleteFromOrganization({
  org,
  username,
  codespace_name,
});

Parameters

name required description
orgyes

The organization name. The name is not case sensitive.

usernameyes

The handle for the GitHub user account.

codespace_nameyes

The name of the codespace.

See also: GitHub Developer Guide documentation.