Disconnect an integration

Detach an integration from the workspace and delete its stored key.

DELETEhttps://app.trygtm.com/api/v1/integrations/{provider}
Scope
write

Path parameters

providerstringrequired
The integration, by provider id from list_integrations.google_calendarcalendlycal_comhubspotpipedriveattiosalesforcezohogohighlevelslackzapierwebhook

Headers

Idempotency-Keystringoptional
A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.

Request

curl -X DELETE https://app.trygtm.com/api/v1/integrations/google_calendar \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response

{
  "data": {
    "provider": "calendly",
    "disconnected": true
  }
}

Was this page helpful?