Skip to content

Delete Project

This endpoint soft-deletes an existing project by ID.

DELETE /v1/projects/projects/:id

Include your API key in the x-api-key header. See Authentication.

projects:write
ParameterTypeRequiredDescription
idstringYesProject ID to delete.

This endpoint does not accept a request body.

Terminal window
curl -X DELETE "https://api.crewsum.com/v1/projects/projects/project-mno123pqr4567890" \
-H "x-api-key: $CREWSUM_API_KEY"

On success, the API returns HTTP 200 OK.

{
"message": "Successfully deleted project: project-mno123pqr4567890"
}
  • The project is soft-deleted: it is marked isDeleted: true. Get Project still returns it. List Projects does not.
  • The delete also soft-deletes all of the project’s contact associations and the project’s default task.
  • Other tasks in the project are not deleted. They keep isDeleted: false and still appear in List Tasks. Delete them separately with Delete Task if needed.
  • If no project exists for the ID, the API still returns 200. No webhook is sent in that case.
  • After the project is deleted, Crewsum emits the projects.deleted webhook event. A webhook delivery failure does not change the API response.
StatusMeaning
400The project ID was missing from the route.
500Crewsum could not delete the project. The message is Error deleting project: <id>.

Authentication and scope failures are described in Errors.