'staff_2', 'requestData' => [ 'articleId' => [ 'validation' => DataValidator::dataStoreId('article'), 'error' => ERRORS::INVALID_TOPIC ] ] ]; } public function handler() { $article = Article::getDataStore(Controller::request('articleId')); $article->delete(); Response::respondSuccess(); } }