docs: def modify_agent_properties(self, agent_id, key_value_map={}):
          '''
          modify_agent_properties(self, agent_id, key_value_map={})
  
          Modify properties of an agent. If properties do not exists, they will be created
  
          :Parameters:
          * *agent_id* (`string`) -- Identifier of an existing agent
          * *key_value_map* (`object`) -- Key value map of properties to change
          * *value* (`string`) -- New Value of the property to change
  
          :Example:
          .. code-block:: python
  
             opereto_client.modify_agent_properties('my_agent_id', {"mykey": "myvalue", "mykey2": "myvalue2"})
  
          '''
          return self._call_rest_api('post', '/agents/'+agent_id+'/properties', data=key_value_map, error='Failed to modify agent [%s] properties'%agent_id)