Disconnect a destination or Apaleo source
For Klaviyo or Mailchimp, removes the WorkOS Pipes connected account, pauses active destination bindings, and returns the Casa connection to pending. For Apaleo, deletes webhook subscriptions, revokes OAuth tokens at Identity, and returns the Casa row to pending. Mapping rows and warehouse data stay. Remote teardown is best-effort: Casa still disconnects when Apaleo already revoked the token or deleted the subscription. Requires scope write:integrations.
Authorizations
Authorization: Bearer <token>. Token types resolve to the same scoped credential: a user-generated API key (casa_…, from Account settings — recommended for first-party machines and MCP clients), a partner credential access token (third-party agents; REST-only), a session JWT (the web app; org and role come from verified token claims), or a static token. API keys are group-scoped, optionally pinned to one property at creation. Partner credentials reject X-Property-Id. MCP OAuth connector tokens authenticate the MCP server only and are rejected on these REST routes.
Path Parameters
Resource id (UUID).
Response
Connection is pending.