---
title: "Delete an organization Copilot Space"
method: DELETE
path: "/orgs/{org}/copilot-spaces/{space_number}"
tags: ["copilot-spaces"]
---

# Delete an organization Copilot Space

`DELETE /orgs/{org}/copilot-spaces/{space_number}`

Deletes a Copilot Space owned by an organization. The authenticated user must have permissions to delete spaces in the organization.

**Warning:** This action is permanent and cannot be undone. Deleting a Copilot Space will remove all associated resources and configurations.

Organization members with appropriate permissions can delete Copilot Spaces owned by their organization.

OAuth app tokens and personal access tokens (classic) need both the `read:org` and `repo` scopes to use this endpoint.

## Path parameters

- `org` string, required
- `space_number` integer, required

## Response `204`

The Copilot Space has been successfully deleted.

## Other responses

- `404` — Resource not found
- `422` — Validation failed, or the endpoint has been spammed.

## Changes

- **2026-04-27** (2022-11-28) `f3adc495577d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/github/apis/rest/changes/orgs/:org/copilot-spaces/:space_number/delete.md)

---

[API](https://skmtc.dev/github/apis/rest.md) · [All operations](https://skmtc.dev/github/apis/rest/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/github/rest/revisions/e710bf6cb95b/schema)
