> 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/005_c2c_-user_to_user-_connections/010__remove_c2c_connection.md).

# Remove A C2C Connection

GraphQL endpoint: `/user`

Removes an established C2C connection, ending the connection between the two users. Either user in the connection can remove it.

## Query

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

```

## Variables

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

## Response

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