src/Devices.php
public function update($id, array $data)
    {
        $data = $this->resolverFactory->createExistingDeviceResolver()->resolve($data);

        return $this->api->request('PUT', '/players/'.$id, [], json_encode($data));
    }
public function update($id, array $data)
    {
        $data = $this->resolverFactory->createExistingDeviceResolver()->resolve($data);

        return $this->api->request('PUT', '/players/'.$id, [], json_encode($data));
    }
public function update ( $ id , array $ data ) { $ data = $ this -> resolverFactory -> createExistingDeviceResolver ( ) -> resolve ( $ data ) ; return $ this -> api -> request ( 'PUT' , '/players/' . $ id , [ ] , json_encode ( $ data ) ) ; }
Update existing registered device for your application with provided data.

@param string $id   Device ID
@param array  $data New device data

@return array
Update existing registered device for your application with provided data .