Delete OAuth Client
Remove the organization's own OAuth client, disconnecting every account that connected through it and revoking their grants.
DELETE
Each connection's provider grant is revoked on the way out, with the same Google sharing rule as a single disconnect.
ApiKeyAuthheader
AuthorizationBearer <token>Api key to access Mixedbreads API
provider*ProviderThe connector to reset
Value in
"google_drive""gmail""slack"The connector slot after the change
application/json- response
The result of registering, rotating, or removing a customer-owned Google OAuth client.
data*The connector slot after the change
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" ] }}