Update Unit Data for Event

Allows pushing on / off states for an event for specific units. Units not mentioned will keep the value they had previously been set to.

The new status can be true, false or null if the value is not defined.
If the value isn't defined, the unit site's status will be used.
If the value isn't defined, the unit locations's status will be used.
If the value isn't defined, the global status will be used.

The keys of the new_statuses object are stringified unit_id integers previously fetched using the GET /units endpoint.

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