> 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/002_company/007_b2c_subscriptions/006__remove_b2c_subscription_as_company.md).

# Remove B2C Subscription (Company)

GraphQL endpoint: `/company`

Removes an existing B2C subscription for a user, unsubscribing them from receiving communications of that type from the company. The subscription is permanently removed. This action cannot be undone, but a new subscription can be created if consent is obtained again.

## Query

```graphql
mutation (
  $subscriptionId: ID!
) {
  removeB2cSubscription (
    subscriptionId: $subscriptionId
  ) {
    ... on B2cEmailSubscription {
      id
      insertedAt
      updatedAt
      type
      subscriptionTopics
      expirationDate
      notificationStartTime
      notificationEndTime
      email
      company {
        id
      }
      user {
        id
      }
    }

    ... on B2cSmsSubscription {
      id
      insertedAt
      updatedAt
      type
      subscriptionTopics
      expirationDate
      notificationStartTime
      notificationEndTime
      telephoneNumber
      company {
        id
      }
      user {
        id
      }
    }

    ... on B2cVoiceSubscription {
      id
      insertedAt
      updatedAt
      type
      subscriptionTopics
      expirationDate
      notificationStartTime
      notificationEndTime
      telephoneNumber
      company {
        id
      }
      user {
        id
      }
    }
  }
}

```

## Variables

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

## Response

```json
{
  "data": {
    "removeB2cSubscription": {
      "company": {
        "id": "00000000-0000-4000-8000-000000000001"
      },
      "email": "test1@email.com",
      "expirationDate": null,
      "id": "00000000-0000-4000-8000-000000000002",
      "insertedAt": "2026-01-15T09:00:00",
      "notificationEndTime": "20:00:00",
      "notificationStartTime": "08:00:00",
      "subscriptionTopics": [
        "topic_2",
        "topic_3"
      ],
      "type": "EMAIL",
      "updatedAt": "2026-01-15T09:00:00",
      "user": {
        "id": "00000000-0000-4000-8000-000000000003"
      }
    }
  }
}
```
