Infomaniak Newsletter icon

Infomaniak Newsletter

Interact with Infomaniak Newsletter API

Segments → Delete A Segment

AI-generated

Summary

Deletes a specific newsletter segment from a given Infomaniak domain.

Inputs

  • authentication (required) — Authentication method (OAuth2 or API Key).
  • path_domain (required) — Unique identifier of the Domain.
  • path_segment (required) — Unique identifier of the Segment.
  • returnFullResponse — If true, returns the full API response; otherwise returns a simplified success indicator.

Output shape

object

Contains the response from the Infomaniak DELETE /domains/{domainId}/segments/{segmentId} endpoint, or a subset thereof when Return Full Response is false.

Examples

Example 1: Delete segment 123 from domain 456 using OAuth2 authentication with full response

Set authentication to OAuth2, path_domain to 456, path_segment to 123, returnFullResponse to true.

Links

Discussion