public function update_group($id, $name = null, $course_name = null, $course_description = null, $course_link = null, $design_id = null){

		$data = array(
		    "group" => array(
		    	"name" => $name,
		    	"course_name" => $course_name,
				"course_description" => $course_description,
    			"course_link" => $course_link,
                "design_id" => $design_id
		    )
		);
		$data = $this->strip_empty_keys($data);

		$client = new \GuzzleHttp\Client();

		$response = $client->put($this->api_endpoint.'issuer/groups/'.$id, array(
		    'headers' =>  array('Authorization' => 'Token token="'.$this->getAPIKey().'"'),
		    'json' => $data
		));

		$result = json_decode($response->getBody());

		return $result;
	}
public function update_group($id, $name = null, $course_name = null, $course_description = null, $course_link = null, $design_id = null){

		$data = array(
		    "group" => array(
		    	"name" => $name,
		    	"course_name" => $course_name,
				"course_description" => $course_description,
    			"course_link" => $course_link,
                "design_id" => $design_id
		    )
		);
		$data = $this->strip_empty_keys($data);

		$client = new \GuzzleHttp\Client();

		$response = $client->put($this->api_endpoint.'issuer/groups/'.$id, array(
		    'headers' =>  array('Authorization' => 'Token token="'.$this->getAPIKey().'"'),
		    'json' => $data
		));

		$result = json_decode($response->getBody());

		return $result;
	}
public function update_group ( $ id , $ name = null , $ course_name = null , $ course_description = null , $ course_link = null , $ design_id = null ) { $ data = array ( "group" => array ( "name" => $ name , "course_name" => $ course_name , "course_description" => $ course_description , "course_link" => $ course_link , "design_id" => $ design_id ) ) ; $ data = $ this -> strip_empty_keys ( $ data ) ; $ client = new \ GuzzleHttp \ Client ( ) ; $ response = $ client -> put ( $ this -> api_endpoint . 'issuer/groups/' . $ id , array ( 'headers' => array ( 'Authorization' => 'Token token="' . $ this -> getAPIKey ( ) . '"' ) , 'json' => $ data ) ) ; $ result = json_decode ( $ response -> getBody ( ) ) ; return $ result ; }
Update a Group
@param String $id
@param String|null $name
@param String|null $course_name
@param String|null $course_description
@param String|null $course_link
@return stdObject
Update a Group