diff --git a/monkey/monkey_island/cc/resources/agent_configuration.py b/monkey/monkey_island/cc/resources/agent_configuration.py index e0c2fa942..6db3f8b63 100644 --- a/monkey/monkey_island/cc/resources/agent_configuration.py +++ b/monkey/monkey_island/cc/resources/agent_configuration.py @@ -24,7 +24,7 @@ class AgentConfiguration(AbstractResource): return make_response(configuration_json, 200) @jwt_required - def post(self): + def put(self): try: configuration_object = AgentConfigurationObject.from_mapping(request.json) self._agent_configuration_repository.store_configuration(configuration_object)