public function update($id = null, array $form_params = [])
    {
        return $this->apiRequester->request('PUT', $this->url($id), ['json' => $form_params]);
    }
public function update($id = null, array $form_params = [])
    {
        return $this->apiRequester->request('PUT', $this->url($id), ['json' => $form_params]);
    }
public function update ( $ id = null , array $ form_params = [ ] ) { return $ this -> apiRequester -> request ( 'PUT' , $ this -> url ( $ id ) , [ 'json' => $ form_params ] ) ; }
Update a specific resource.

@param int   $id          The resource's id.
@param array $form_params The request body.

@return mixed
@throws \GuzzleHttp\Exception\GuzzleException
@throws \Vindi\Exceptions\RateLimitException
@throws \Vindi\Exceptions\RequestException
Update a specific resource .