Projects
Delete a project
Delete a project you own. It is emptied first, and there is no undo.
POST
https://cloud.generalinput.com/v1/projects/:id/deleteAuthenticationRequires
projects:manage on a personal API key. A CLI session always passes.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
| Field | Type | Required | Notes |
|---|---|---|---|
contents | object | yes | { "kind": "move", "toProjectId": "proj_…" } or { "kind": "delete" }. |
{ "contents": { "kind": "move", "toProjectId": "proj_02AB…" } }Response
204 No Content.
Errors
| Status | When |
|---|---|
403 | The member is not the project's owner. |