Actions70
- API Key Actions
- Campaigns Actions
- Credits Actions
- Domains Actions
- Fields Actions
- Groups Actions
- Operations Actions
- Segments Actions
- Subscribers Actions
- Templates Actions
- Webforms Actions
Campaigns → Delete Campaign
AI-generatedSummary
Deletes an Infomaniak Newsletter campaign.
Inputs
- Authentication — Authentication method to use. Options: OAuth2 (default) or API Key.
- Domain (required) — The Infomaniak Newsletter domain (e.g., newsletters.infomaniak.com).
- Campaign (required) — The identifier of the campaign to delete.
- Additional Body Fields — Optional key‑value pairs to include in the request body.
- Return Full Response — If enabled, returns the full API response; otherwise returns a simplified success indicator.
Output shape
object
When Return Full Response is false, returns a simple success indicator (e.g., { success: true }). When true, returns the raw response from the Infomaniak API.
Examples
Example 1: Delete a campaign by providing domain and campaign ID, using default OAuth2 authentication.
Authentication: OAuth2 (default); Domain: newsletters.infomaniak.com; Campaign: abc123; Return Full Response: false.