Mixedbread

Disconnect Installation

Disconnect the account, stop its syncs, and revoke its provider grant. The store and what is already in it remain.

DELETE
/v1/integrations/installations/{installation_id}

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.

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

Api key to access Mixedbreads API

Path Parameters

installation_id*Installation Id

Installation ID, as returned when the account connected

Formatuuid

Query Parameters

delete_data?Delete Data

Also 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.

Defaultfalse

Response Body

The disconnected account

application/json
  1. response

Response containing one connected account.

data*

The connected account and the store it feeds

Example Request
cURL
curl -X DELETE https://api.mixedbread.com/v1/integrations/installations/2f1c9a8e-6b4d-4e3a-9c1f-7d8e5b6a4c21 \  -H 'Authorization: Bearer YOUR_API_KEY'
Example Response
{  "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    }  }}