> 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/010__remove_b2c_subscription_topic.md).

# Remove B2C Subscription Topic

GraphQL endpoint: `/company`

Removes one of the company's B2C subscription topics by id and returns the removed topic.

## Query

```graphql
mutation (
  $id: ID!
) {
  removeB2cSubscriptionTopic (
    id: $id
  ) {
    id
    name
    description
    type
    enableEmail
    enableSms
    enableVoice
  }
}

```

## Variables

```json
{
  "id": "00000000-0000-4000-8000-000000000001"
}
```

## Response

```json
{
  "data": {
    "removeB2cSubscriptionTopic": {
      "description": "description_1",
      "enableEmail": true,
      "enableSms": true,
      "enableVoice": true,
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "topic_2",
      "type": "NON_CRITICAL"
    }
  }
}
```
