Delete a project
Soft delete. The project moves to Recently Deleted (list it with deleted=true) together with every live issue in it that belongs to the project's OWN team - the cascade is bounded to that team because permission was checked against the project row, so it must not reach a row that check never covered. Deleting an already-deleted project is a 404. Nothing is erased until permanentlyDeleteProject is called or the 30-day retention window expires.
View as MarkdownAuthorization
bearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "message": "string"}Update a project
Partial update. Setting leadId to "" clears the lead; a non-empty leadId outside the org's members is 400 "invalid leadId". A `name` that another project in the same team already uses is a 409; a blank one is a 400. Re-sending the project's own name is always allowed. A `status` outside the enum is a 400 naming the allowed set.
Restore a deleted project
Moves a soft-deleted project out of Recently Deleted, and with it every issue currently pointing at it that belongs to the project's own team - unconditionally, regardless of when each issue was deleted, so restore is the exact mirror of the delete it undoes. A project that is not soft-deleted is a 404, as is one belonging to another org.