code: public function changeLns($id,$lnsName){
          if (!$id)
              throw new BadMethodCallException('Missing parameter $id.');
          if (!$lnsName)
              throw new BadMethodCallException('Missing parameter $lnsname.');
          try {
              $r=$this->post('xdsl/' . $id . '/changeLns',array('Content-Type' => 'application/json;charset=UTF-8'), json_encode(array('lnsName' => $lnsName)))->send();
          } catch (\Exception $e) {
              throw new XdslException($e->getMessage(), $e->getCode(), $e);
          }
          return $r->getBody(true);
      }
docs: Change Lns
  
  @param string $id
  @param string $lnsName
  @return string (json encoded object task)
  @throws \Ovh\Common\Exception\BadMethodCallException
  @throws Exception\XdslException