Unsubscribe
Delete an unsubscribe group
Permanently deletes an unsubscribe group by its ID.
Permanently deletes an unsubscribe group by its ID. The default group cannot be deleted; make another group the default first. A group a scheduled or running campaign uses cannot be deleted until that run finishes or is cancelled.
Authorization
apiKey x-api-key<token>
In: header
Path Parameters
id*string
Match
^unsub_[0-9a-hjkmnp-tv-z]{16,24}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/unsubscribe-groups/string"{ "success": true}Related documentation
List unsubscribe group members
Returns the email addresses in an unsubscribe group, newest first. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.
Remove contacts from an unsubscribe group
Removes one or more email addresses from an unsubscribe group and returns the number removed.