Disconnect a service from the site.
Retires the integration record. When removed is true the platform took it out of the pages itself (designed slot). When removed is false follow cleanup: delete the snippet or the config_key entry and any section or nav link that existed only for it, using files/apply.
DELETE
https://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/integrations/{integration_id}Recent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Path Params
idstringrequiredintegration_idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Idempotency-KeystringOptional idempotency key for safe retries.
Response
Response Body
integrationobjectThe removed row.removedbooleantrue when the platform removed it from the pages itself (designed slot). false means you must remove it: follow cleanup.changedarray of stringsFiles the platform changed.cleanupobject | nullWhen removed is false: snippet, config_key, marker and an instruction describing what to take out of the pages.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.siteBuilder.disconnectProjectIntegration('<id>', '<integration_id>');console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": { "integration": {}, "removed": true, "changed": [], "cleanup": "string" }}