Appearance
Campaigns Update
lindris campaigns update
Update a draft campaign's name, subject, sender or reply-to
Synopsis
PUT /api/campaigns/{id} — update one or more fields of a DRAFT campaign. At least one flag is required. Non-draft campaigns are rejected by the API (422, not 403).
Flags carry only the values you set; an empty string means "leave unchanged", not "clear" — pass a non-empty value to change a field.
Recipient targeting is not settable over the API: choose the audience in the dashboard (see the editor link from campaigns get).
bash
lindris campaigns update <id> [flags]Examples
bash
$ lindris campaigns update 123 --subject="Welcome aboard"
$ lindris campaigns update 123 --sender-name="Acme" [email protected]
$ lindris campaigns update 123 [email protected]Options
--namestring - New campaign name (max 255 chars)-o, --outputstring - Output format: json|text. Default:json--preview-textstring - Inbox preview text (max 500 chars)--reply-to-emailstring - Reply-to email address (max 254 chars)--reply-to-namestring - Reply-to display name (max 255 chars)--sender-emailstring - Sender email address (max 254 chars)--sender-namestring - Sender display name (max 255 chars)--subjectstring - Email subject line (max 500 chars)
See Also
lindris campaigns- Manage one-time email campaigns — wraps /api/campaigns