Destructive

Manage A/B Variants

Inspect stored definitions with action='list'. action='remove' is supported for cleanup. action='add' fails with VARIANTS_NOT_APPLIED before any write.

manage_variantsDELETE/api/v1/campaigns/{campaign_id}/steps/{step_index}/variants/{variant_label}
crispy — bash

Example prompt: List the stored variants on step 0 of gtm-engineers-apr26

{
  "success": true,
  "variants": [],
  "count": 0
}
Permission scope
core
Access
Destructive
Category
Campaigns

What you can build

List stored definitions on a campaign step without changing them
Remove an inert stored definition that should no longer appear

Parameters

Inputs accepted by manage_variants.

NameTypeDescription
campaign_idstringCampaign slug (e.g. 'gtm-engineers-apr26').
action"list" | "add" | "remove"'list' returns stored variants; 'remove' deletes the named inert definition; 'add' currently fails with VARIANTS_NOT_APPLIED.
step_indexnumber0-based index of the sequence step to manage variants for. Required: matches REST path /campaigns/{campaign_id}/steps/{step_index}/variants.
labelstringRequired for action='remove'. Names the stored definition to delete. action='add' also uses it but is currently disabled.
message_templatestringReserved for action='add', which is currently disabled.
subjectstringOptional for action='add'. Subject line for InMail steps.
target"sequence" | "follow_up"Which step array to target. 'sequence' (default) = pre-send. 'follow_up' = post-acceptance.

The complete LinkedIn API. Ready when you are.

Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.