write_marketing_events
Marks channel-level engagement data such that it no longer appears in reports. Activity-level data cannot be deleted directly, instead the MarketingActivity itself should be deleted to hide it from reports.
The handle of the channel for which engagement data should be deleted.
When true, engagements for all channels that belong to the api client will be deleted.
Informational message about the engagement data that has been marked for deletion.
The list of errors that occurred from executing the mutation.
mutation M($channelHandle: String, $deleteEngagementsForAllChannels: Boolean) { marketingEngagementsDelete(channelHandle: $channelHandle, deleteEngagementsForAllChannels: $deleteEngagementsForAllChannels) { result userErrors { field message } } }
{ "marketingEngagementsDelete": { "result": "Engagement data marked for deletion for 5 channel(s)", "userErrors": [] } }