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

Path Parameters

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

Request Body Requirements

metadata
object
required

Known Errors

  • ClientNotFoundError — No client found with the specified external ID for this source
  • ValidationError — Missing required metadata.source field
  • DeletionError — Client cannot be deleted due to existing dependencies (projects, brands, etc.)
curl --location --request DELETE 'https://integrations.projectcor.com/v2/integrations/clients/SF-ACC-67890' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
  "metadata": {
    "source": "SALESFORCE"
  }
}'
{
  "message": "Client deleted successfully",
  "external_id": "SF-ACC-67890",
  "cor_id": 25855
}