Exemple #1
0
 /**
  * @url DELETE /:das_uid/owner/:owner_uid
  *
  * @param string $das_uid  {@min 32}{@max 32}
  * @param string $owner_uid  {@min 32}{@max 32}
  *
  * @author Marco Antonio Nina <*****@*****.**>
  * @copyright Colosa - Bolivia
  */
 public function doDeleteDashboardOwner($das_uid, $owner_uid)
 {
     try {
         $dashboard = new \ProcessMaker\BusinessModel\Dashboard();
         $response = $dashboard->deleteDashboardOwner($das_uid, $owner_uid, $this->getUserId());
         return $response;
     } catch (\Exception $e) {
         throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
     }
 }