Remove B2C Subscription Topic
On this page
GraphQL endpoint: /company
Removes one of the company's B2C subscription topics by id and returns the removed topic.
Query
mutation (
$id: ID!
) {
removeB2cSubscriptionTopic (
id: $id
) {
id
name
description
type
enableEmail
enableSms
enableVoice
}
}
Variables
{
"id": "00000000-0000-4000-8000-000000000001"
}
Response
{
"data": {
"removeB2cSubscriptionTopic": {
"description": "description_1",
"enableEmail": true,
"enableSms": true,
"enableVoice": true,
"id": "00000000-0000-4000-8000-000000000001",
"name": "topic_2",
"type": "NON_CRITICAL"
}
}
}