Delete Campaign Bundle Rules

DELETE {{baseUrl}}/preview/campaigns/:campaignId/targeting/bundle-rules

Removes some bundles from the current list of targeted bundles for a given campaign.
The mode of targeting (allowlist/blocklist) cannot be updated through this method.

Request Body

{"data"=>{"type"=>"<string>", "attributes"=>{"type"=>"BUNDLE", "mode"=>"BLOCKLIST", "data"=>[{"value"=>"<string>", "readOnly"=>"<boolean>", "active"=>"<boolean>"}, {"value"=>"<string>", "readOnly"=>"<boolean>", "active"=>"<boolean>"}]}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;attributes&quot;:{&quot;type&quot;:&quot;DOMAIN&quot;,&quot;mode&quot;:&quot;BLOCKLIST&quot;,&quot;data&quot;:[{&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;readOnly&quot;:&quot;\u003cboolean\u003e&quot;,&quot;active&quot;:&quot;\u003cboolean\u003e&quot;},{&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;readOnly&quot;:&quot;\u003cboolean\u003e&quot;,&quot;active&quot;:&quot;\u003cboolean\u003e&quot;}]}}}