> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# supportIntegrationDisconnect

> Disconnect an email inbox, Facebook page or Instagram account from the help desk, as Disconnect and Log out do on the channels settings page. The help desk stops receiving and sending on it; its tickets stay. It cancels a Gmail or Outlook inbox's first sync, deletes a custom email's Postmark sender, moves the store's default reply address to another inbox when it was this one, and unsubscribes a Facebook page from Meta once no connected integration uses it. Gmail, Outlook and Meta keep Redo's access until the merchant removes it in their account settings. True when it was disconnected; false when no integration of the store has this id. Throws a 400 BAD_USER_INPUT error for any other type of integration.

**Required scopes:** [`support_settings_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_settings_write)

## Arguments

**id** `ID!` *required*

The `id` of the integration to disconnect.

## Returns

**supportIntegrationDisconnect** `Boolean!` *required*

## Errors

Besides the [errors any request can return](https://developers.redo.com/docs/api-reference/v3/errors.md), this operation fails with these codes in `extensions.code`.

| Code | HTTP status | Meaning | Retry |
| - | - | - | - |
| `API_TOKEN_REQUIRED` | `403` | The credential has no API token to attribute the change to, such as a first-party token. Nothing was sent. | Call with a store API token. |
| `BAD_USER_INPUT` | `400` | An argument is invalid, or names something the store doesn't have. The message says which. Nothing was written. | Fix the input the message names, then send it again. |
| `INTERNAL_SERVER_ERROR` | `500` | Something failed on Redo's side. The change may or may not have been made. | Read the record to see whether the change was made before sending it again. A send with an idempotencyKey is safe to retry with the same key. |

## Example

```graphql theme={null}
mutation {
  supportIntegrationDisconnect(id: "...")
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.