getUser($request), $wikiPage)) { throw new AuthorizationFailedException(); } $wikiPage->delete(); return $this->getCodeResponse(204); } }