# DisconnectIntegration

> Revoke a connection at the provider and mark it disconnected. Irreversible. Admin access, integrations toolset, MCP tool disconnect_integration.

> **Warning:**
> Irreversible. This operation removes or replaces something. MCP clients see it with `destructiveHint` set, and an agent should tell you what it will change and wait for your yes.

**Access:** [Admin](https://developer.missin.co.uk/get-started/authentication.md#access-levels)

## Variables

| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
| `input` | `DisconnectIntegrationInput!` | yes | Input object, below |  |

## Input types

### DisconnectIntegrationInput

| Field | Type | Required | Accepts | Description |
|---|---|---|---|---|
| `connectionId` | `UUID!` | yes |  |  |

## Call it

```bash curl
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"DisconnectIntegration","variables":{"input":{"connectionId":"00000000-0000-0000-0000-000000000000"}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"e2e8cd6b8000fcfc3df4d1a83f147da9aebc31ca379ccabb3d6be5a080ff2e3e"}}}'
```

## Document

```graphql
mutation DisconnectIntegration($input: DisconnectIntegrationInput!) { __typename disconnectIntegration(input: $input) { __typename id userErrors { __typename code field message } } }
```

Source: https://developer.missin.co.uk/reference/integrations/disconnect-integration
