src/CanvasPest.php
public function put($path, $data = array(), $headers = array())
    {
        return $this->postprocessResponse(
            parent::put($path, $this->preprocessData($data), $headers)
        );
    }
public function put($path, $data = array(), $headers = array())
    {
        return $this->postprocessResponse(
            parent::put($path, $this->preprocessData($data), $headers)
        );
    }
public function put ( $ path , $ data = array ( ) , $ headers = array ( ) ) { return $ this -> postprocessResponse ( parent :: put ( $ path , $ this -> preprocessData ( $ data ) , $ headers ) ) ; }
Make a PUT call to the API

For queries to individually identified endpoints (e.g.
`accounts/1/users/123`), return a CanvasObject representing the API response
describing _that_ individually identified object affected by the query.

@api

@param string $path Path to the API endpoint of this call
@param string|string[] $data (Optional) Query parameters for this call
@param string|string[] $headers (Optional) Any additional HTTP headers for this call

@return CanvasObject|false
Make a PUT call to the API