Delete an archived project, its crews, mirror and files.
Only an archived project with no crew planning, running or paused (409 not_archived, 409 crews_live; 409 crews_busy when an ended crew is held as DELETE /crews/{id} would be), each details entry with its code and next.
DELETE/api/v1/projects/{id}
Scopesconfigapprove
GET /deletions/check?kind=project&id= answers the same without deleting. Deletes each of its crews as DELETE /crews/{id} does, its automations, the server's git mirror and its saved copy, and its files. Its timeline events and cost records stay. Nothing on GitHub is touched. Answers what was removed; deleting it again answers the same record with alreadyDeleted: true; an id that never existed is 404. Destructive, so a key needs approve as well as config. The timeline records the key ID, action and outcome.
Path parameters.
idstringrequired
The project's id.
Headers.
Idempotency-Keystring
Retry the same request with the same key. Retry rules.
Response.
200 OK · JSON object