public function removeSchedule($CampaignId)
    {
        $response = $this->mailjet->delete(Resources::$CampaigndraftSchedule,
            ['id' => $CampaignId]);
        if (!$response->success()) {
            $this->throwError("CampaignDraftManager:removeSchedule failed",
                $response);
        }

        return $response->getData();
    }
public function removeSchedule($CampaignId)
    {
        $response = $this->mailjet->delete(Resources::$CampaigndraftSchedule,
            ['id' => $CampaignId]);
        if (!$response->success()) {
            $this->throwError("CampaignDraftManager:removeSchedule failed",
                $response);
        }

        return $response->getData();
    }
public function removeSchedule ( $ CampaignId ) { $ response = $ this -> mailjet -> delete ( Resources :: $ CampaigndraftSchedule , [ 'id' => $ CampaignId ] ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "CampaignDraftManager:removeSchedule failed" , $ response ) ; } return $ response -> getData ( ) ; }
Cancel a future sending
@param string Campaign $id
@return array
Cancel a future sending