# Delete a project

> Delete a project you own. It is emptied first, and there is no undo.

Source: https://docs.generalinput.com/api/projects/delete



<Endpoint method="POST" path="/v1/projects/:id/delete" />

<Access scope="projects:manage" />

The project is emptied before it goes. What happens to the resources you own is your call; another member's resources always move into a new project of their own (named and styled after this one), since only an owner decides who sees a resource. There is no workspace root.

| `contents.kind` | Resources you own                                  |
| --------------- | -------------------------------------------------- |
| `move`          | Moved into `toProjectId` (a project you can edit). |
| `delete`        | Taken down with the project.                       |

## Body [#body]

| Field      | Type   | Required | Notes                                                                    |
| ---------- | ------ | -------- | ------------------------------------------------------------------------ |
| `contents` | object | yes      | `{ "kind": "move", "toProjectId": "proj_…" }` or `{ "kind": "delete" }`. |

```json
{ "contents": { "kind": "move", "toProjectId": "proj_02AB…" } }
```

## Response [#response]

`204 No Content`.

## Errors [#errors]

| Status | When                                   |
| ------ | -------------------------------------- |
| `403`  | The member is not the project's owner. |
