Actions25
- Atendente Actions
- Canal Actions
- Contato Actions
- Mensagem Actions
- Template Actions
- Campanha Actions
- Shop — Categoria Actions
- Shop — Produto (Batch) Actions
- Fluxo Actions
Campanha → Cancelar Campanha
AI-generatedSummary
Send a request to cancel a specific campaign by its ID, changing its status via the Suri API.
Inputs
- ID da Campanha (required) — The unique identifier of the campaign to be canceled.
Output shape
a single object indicating success or failure of the cancellation request
The operation performs a PUT request to the endpoint /api/campaigns/:id/cancel. If successful, a JSON object confirming the cancellation is returned; errors will be thrown otherwise.
Examples
Example 1: Cancel campaign with ID '12345'
Set 'ID da Campanha' to '12345' and execute the Cancelar Campanha operation under Campanha resource.