Cancel campaign
Cancels a campaign in scheduled OR processing status (extends the
legacy core-api endpoint, which only accepted scheduled) — a POST
action route instead of the legacy’s DELETE, since this is a state
transition, not a resource deletion. Only dispatches still pending/
processing are canceled; already-finished ones are left untouched
(fixes the legacy’s unconditional updateMany). The dispatch engine
(talqui-core-api) independently checks campaign.campaignStatus before
every send, so messages already in the SQS queue at the moment of
cancellation are skipped rather than sent once this lands.
Authorizations
Behalf of an Operator (default). A JWT issued by Talqui Core when an operator signs in, scoped to every tenant that operator belongs to. Send as Authorization: Bearer <jwt-token>.