Disconnect Installation
Disconnect the account, stop its syncs, and revoke its provider grant. The store and what is already in it remain.
By default the store and what is already in it remain. With delete_data, a single store no other
connection feeds is deleted; otherwise the account's own files are removed from each store it fed, in
the background.
The provider grant is revoked as well: always for Slack, and for Google unless another installation of the same Google account was authorized through the same OAuth client.
ApiKeyAuthAuthorizationBearer <token>Api key to access Mixedbreads API
installation_id*Installation IdInstallation ID, as returned when the account connected
uuiddelete_data?Delete DataAlso delete what the connection synced: its own files are removed from each store it fed, in the background, then a single store left empty that no other connection feeds.
falseThe disconnected account
application/json- response
Response containing one connected account.
data*The connected account and the store it feeds
curl -X DELETE https://api.mixedbread.com/v1/integrations/installations/2f1c9a8e-6b4d-4e3a-9c1f-7d8e5b6a4c21 \ -H 'Authorization: Bearer YOUR_API_KEY'{ "data": { "installation_id": "2f1c9a8e-6b4d-4e3a-9c1f-7d8e5b6a4c21", "provider": "gmail", "status": "active", "account": { "id": "olivia@example.com", "name": "olivia@example.com", "email": "olivia@example.com", "workspace": null }, "store_id": "5d3e7f9a-1b2c-4d6e-8f0a-9c8b7a6d5e4f", "store_name": "mail-olivia", "sync": { "failed_resource_count": 0, "last_error": null, "last_error_operation": null, "last_error_at": null } }}