Suri icon

Suri

Integração com a plataforma Suri (Chatbot Maker)

Campanha → Cancelar Campanha

AI-generated

Summary

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.

Links

Discussion