> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/001_user/008_c2b_connections/008__remove_c2b_connection.md).

# Remove C2B Connection

GraphQL endpoint: `/user`

Removes an existing connection between the user and a company. The connection is permanently removed and both parties will no longer see each other in their connections list. This action cannot be undone.

## Query

```graphql
mutation (
  $connectionId: ID!
) {
  removeC2bConnection (
    connectionId: $connectionId
  ) {
    id
    type
    insertedAt
    updatedAt
    startedAt
    company {
      id
    }
    connectedUser {
      id
    }
  }
}

```

## Variables

```json
{
  "connectionId": "00000000-0000-4000-8000-000000000003"
}
```

## Response

```json
{
  "data": {
    "removeC2bConnection": {
      "company": {
        "id": "00000000-0000-4000-8000-000000000001"
      },
      "connectedUser": {
        "id": "00000000-0000-4000-8000-000000000002"
      },
      "id": "00000000-0000-4000-8000-000000000003",
      "insertedAt": "2026-01-15T09:00:00",
      "startedAt": null,
      "type": "CUSTOMER",
      "updatedAt": "2026-01-15T09:00:00"
    }
  }
}
```
