# DeleteConnection

> Delete a connection and its local data. Irreversible. Admin access, integrations toolset, MCP tool delete_connection.

> **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` | `DeleteConnectionInput!` | yes | Input object, below |  |

## Input types

### DeleteConnectionInput

| 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":"DeleteConnection","variables":{"input":{"connectionId":"00000000-0000-0000-0000-000000000000"}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"30a27bdc9d42ea83769dd7756bd1f2770e223357ff482dc5828715d607b4ac9f"}}}'
```

## Document

```graphql
mutation DeleteConnection($input: DeleteConnectionInput!) { __typename deleteConnection(input: $input) { __typename id userErrors { __typename code field message } } }
```

Source: https://developer.missin.co.uk/reference/integrations/delete-connection
