removeCampaignFromAccount
Arguments
Input variables needed for removing a campaign from an account.
Returns
RemoveCampaignFromAccountThe possible errors that can be raised are:
- KT-CT-7424: Failed to remove campaign from account.
- KT-CT-7426: The account is not part of the given campaign.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-1111: Unauthorized.
- KT-CT-1112: 'Authorization' header not provided.
Possible Errors
Allowed Viewers
Required Permissions
Can remove campaign from accountQuery Complexity
1Examples
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.
mutation RemoveCampaignFromAccount($input: RemoveCampaignFromAccountInput!) {
removeCampaignFromAccount(input: $input) {
campaignRemoved
}
}
Variables
{
"input": RemoveCampaignFromAccountInput
}
Response
{
"data": {
"removeCampaignFromAccount": {
"campaignRemoved": true
}
}
}