Unschedule campaign
POST
https://api.flownally.com/v1/campaigns/{campaignId}:unscheduleReturns a scheduled campaign to draft. A campaign cannot be unscheduled after dispatch
starts. If-Match is optional.
Authorization
Required scopes
- campaign:schedule
Allowed roles
- owner
- admin
Return a scheduled campaign to draft.
Parameters
- Name
campaignId- Type
- path · string
- required
Campaign ID.- Name
If-Match- Type
- header · string
Optional. The campaign's currentETag. A stale value returns 412contacts_campaign_revision_mismatch.- Name
Idempotency-Key- Type
- header · string
Key you generate so a retried request isn't applied twice. Use a new key for each new request and the same key for each retry of it.
Responses
- 200Campaign returned to draftapplication/json
- 412The supplied ETag is stale.application/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- OutboundMessageContent
- TextMessageContent
- TextContent
- MediaMessageContent
- Content
- TemplateMessageContent
- WhatsAppTemplateContent
- TemplateComponent
- TemplateParameter
- Parameter
- CurrencyParameter
- DateTimeParameter
- RichMessageContent
- RichMessage
- Card
- CardHeader
- CardBody
- CardFooter
- CardAction
- WhatsAppFlowAction
- WhatsAppMessageContent
- WhatsAppContent
- WhatsAppRequestContactInfoContent
- CampaignStatus
- Campaign
Generated from the API spec.