Skip to main content

Arguments

input : RemoveCampaignItemsInput! required

Returns

RemoveCampaignItems

The possible errors that can be raised are:

  • KT-CT-11501: Voice campaign not found.
  • KT-CT-11502: Cannot remove items from multiple campaigns at once.
  • KT-CT-11505: Voice campaign item not found.
  • KT-CT-11506: Invalid campaign ID.
  • KT-CT-11507: Invalid campaign item ID.
  • KT-CT-1113: Disabled GraphQL field requested.
  • KT-CT-1111: Unauthorized.
  • KT-CT-1112: 'Authorization' header not provided.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can manage voice campaigns

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation RemoveCampaignItems($input: RemoveCampaignItemsInput!) { removeCampaignItems(input: $input) { campaignItems { ...VoiceCampaignItemTypeFragment } } }

Variables

Response

{ "data": { "removeCampaignItems": { "campaignItems": [VoiceCampaignItemType] } } }