Mixedbread

Delete OAuth Client

Remove the organization's own OAuth client, disconnecting every account that connected through it and revoking their grants.

DELETE
/v1/integrations/oauth-clients/{provider}

Each connection's provider grant is revoked on the way out, with the same Google sharing rule as a single disconnect.

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

Api key to access Mixedbreads API

Path Parameters

provider*Provider

The connector to reset

Value in"google_drive""gmail""slack"

Response Body

The connector slot after the change

application/json
  1. response

The result of registering, rotating, or removing a customer-owned Google OAuth client.

data*

The connector slot after the change

Example Request
cURL
curl -X DELETE https://api.mixedbread.com/v1/integrations/oauth-clients/gmail \  -H 'Authorization: Bearer YOUR_API_KEY'
Example Response
{  "data": {    "slot": {      "provider": "gmail",      "redirect_uri": "https://api.mixedbread.com/v1/integrations/gmail/oauth/callback",      "required_scopes": [        "https://www.googleapis.com/auth/gmail.readonly"      ],      "app_manifest": null,      "client": null    },    "reauth_required_installation_ids": [],    "disconnected_installation_ids": [      "2f1c9a8e-6b4d-4e3a-9c1f-7d8e5b6a4c21"    ]  }}