Unsuspend Company
Manually unsuspend a company. Resets the legacy cumulative counters.
Gated on admin: this lifts a deliverability block that protects a SHARED SES account — one tenant mailing a dirty list can get sending throttled for every company on the platform. Until now the only barrier was the modulo.marketing module gate, so any user who could open the Marketing tab could clear their own company's suspension from the "Reativar" button. Company-level management action, so admin, not system_admin.
NOTE this does NOT reset the bounce rate. Rates come from a rolling 30-day window over Z_MarketingBounceLog (_REPUTATION_WINDOW_SQL); zeroing the columns no longer moves them. If the real rate is still above the threshold, the next permanent bounce re-suspends. See unsuspend_company() in app/db/marketing.py — the remedy is to clean the list and let the window roll, not to press this again.
Headers
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.