Skip to main content
DELETE
https://integrations.projectcor.com
/
v2
/
integrations
/
projects
/
{id}
curl --location --request DELETE 'https://integrations.projectcor.com/v2/integrations/projects/SF-OPP-12345' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
  "metadata": {
    "source": "SALESFORCE"
  }
}'
{
  "message": "Project deleted successfully",
  "external_id": "SF-OPP-12345",
  "cor_id": 155693
}
Deletes a project from your COR instance using its external ID. This also removes the integration mapping for the project.

Path Parameters

id
string
required
External project ID that was used when creating the project

Request Body Requirements

metadata
object
required

Known Errors

  • ProjectNotFoundError — No project found with the specified external ID for this source
  • ValidationError — Missing required metadata.source field
  • DeletionError — Project cannot be deleted due to existing dependencies (tasks, time entries, etc.)
curl --location --request DELETE 'https://integrations.projectcor.com/v2/integrations/projects/SF-OPP-12345' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
  "metadata": {
    "source": "SALESFORCE"
  }
}'
{
  "message": "Project deleted successfully",
  "external_id": "SF-OPP-12345",
  "cor_id": 155693
}