Mautic Community Forums

Edit campaign events using mautic api

My problem is that I am trying to edit a campaign event from mautic using PUT / api / campaigns / events / batch / edit method
But for some reason I have not been able to update the events, someone knows how to place the array, this is the one I have in php
event = [ 'eventId' => id,
‘contactId’ => contactid, "tiggerMode" => tiggerMode,
‘tiggerInterval’ => tiggerInterval, 'name' => name,
‘id’ => id, 'triggerDate' => tiggerDate,
“dateTriggered” => $ dateTriggered,
];