TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation Company B2C connections Remove B2C connection

Remove B2C connection

On this page

GraphQL endpoint: /company

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

Query

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

Variables

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

Response

{
  "data": {
    "removeB2cConnection": {
      "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.000000",
      "startedAt": null,
      "type": "CUSTOMER",
      "updatedAt": "2026-01-15T09:00:00.000000"
    }
  }
}