Actions70
- API Key Actions
- Campaigns Actions
- Credits Actions
- Domains Actions
- Fields Actions
- Groups Actions
- Operations Actions
- Segments Actions
- Subscribers Actions
- Templates Actions
- Webforms Actions
Segments → Delete A Segment
AI-generatedSummary
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.