How can I delete all CiviCRM Campaigns?
Yes, you can do that with chaining in API Explorer:



$result = civicrm_api3('Campaign', 'get', [
  'sequential' =&gt; 1,
  'options' =&gt; ['limit' =&gt; 0],
  'api.Campaign.delete' =&gt; ['id' =&gt; "\$value.id"],
]);