PUT
/api/apps/fleet/{installation_id}/masterSet the fleet master device
Promotes a device in a fleet to the master role, so mirrored devices copy its playlist and settings. Supply the device's device_id; the previous master leaves the fleet when the new master is set.
installation_idstringrequired
The unique identifier of the fleet installation to update.
The device to promote to master.
device_idintegerrequired
The integer identifier of the device to set as the fleet master.
200Returns the updated fleet data, including its master device, mirror count, and settings and alert information.
dataobjectoptional
401Returned when the request is unauthorized.
errorstringoptional
404Returned when the device belongs to another user.
422Returned when the device is in another fleet.
Error handling
A 401 is returned when the request is unauthorized; a 404 is returned when the device belongs to another user; a 422 is returned when the device is in another fleet. The installation_id path parameter identifies the fleet, and device_id is required and must be an integer.