/groups/{groupId}Delete a group
Deletes the group only. Its contacts are kept. A group that a draft, scheduled or preparing campaign takes its audience from is not deleted (409 GROUP_IN_USE, naming the campaigns); once a campaign is sending, its recipients are fixed and the group can go. With force=true the group is taken out of those campaigns' audiences and deleted, except while a campaign is preparing its recipients or when the group is a campaign's whole audience (still 409). A campaign that loses the group shows its earlier recipient count and cost until it is saved again or prepares, when both are worked out again. Scope portal:write.
Path parameters
groupIdstringrequiredExample:
"17"
Query parameters
forcebooleanDelete the group even though draft or scheduled campaigns use it.
Default:
falseExample:false
Responses
Ready to send your first message?
We set up your account, sender profiles and API key with you, and help you through the first integration.

