Skip to content
TriedDocs
Integrations

Delete CRM config

Remove the workspace's connection to one CRM and its stored credentials.

DELETEhttps://api.tried.com.au/delete-crm-config/{provider}

Deletes the connection for one CRM, including its encrypted credentials and field mapping. Post-call sync to that CRM stops. Past sync jobs stay in List CRM sync jobs.

Request#

Path parameter Type Required Description
provider string Yes One of hubspot, salesforce, dynamics365, gohighlevel, zoho.

Example request#

curl -X DELETE https://api.tried.com.au/delete-crm-config/hubspot \
  -H "Authorization: Bearer $TRIED_API_KEY"
await fetch("https://api.tried.com.au/delete-crm-config/hubspot", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
import os, requests

requests.delete(
    "https://api.tried.com.au/delete-crm-config/hubspot",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)

Response#

204 No Content with an empty body.

Errors#

Status When
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the admin scope. Dashboard users need the admin or developer role.
404 No <provider> CRM connection: the workspace has no connection for that CRM.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.