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