curl -u admin:admin -X PUT http://localhost:9000/api/subscribers/42/blocklist

Category: Listmonk & Newsletters

curl -u admin:admin -X PUT http://localhost:9000/api/subscribers/42/blocklist

Blocklist a subscriber so they receive no mail

Flags the subscriber with status blocklisted, and campaigns skip blocklisted addresses entirely. This is the API form of the same action in the admin UI. There is a bulk variant PUT /api/subscribers/blocklist for banning many ids at once.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.