Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Delete attachments of a campaign message. Only applicable for campaign message of type email

Path Params
int64
required

Client ID

int64
required

Campaign mailing ID

int64
required

Smart Campaign ID

Query Params
attachmentIds
array of int64s
required

A comma separated list of attachment ids to be deleted

attachmentIds*
Responses
204

The attachments were successfully deleted from campaign message.

400

The "attachmentIds" parameter is empty, or the campaign mailing is of type FAX.

404

The campaign mailing was not found.

405

The campaign message is not of type EMAIL.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here!