Remove Do Not Contact
Removes a DNC entry for the selected channel. An optional reason selects
which entry to remove. Other reasons and other channels remain unchanged.
When omitted, the endpoint retains its existing behavior: remove a sending
block while preserving tracking-consent withdrawals (reason=4).
To restore email tracking consent, POST {"reason": 4} to
/api/contacts/{id}/dnc/email/remove. Replace email with sms for SMS.
This removes only the tracking withdrawal; existing unsubscribe, bounce,
or manual sending blocks remain in place.
Reason-specific removal requires a build containing PR #9100 (milestone 5.6.7). Older builds ignore the supplied reason and may remove a sending block instead, leaving tracking consent withdrawn.
Request
Responses
- 200
- 400
- 403
- 404
Removal processed; recordFound is false when no matching entry exists
Invalid request parameters
Insufficient permissions
Entity not found