code: def modify_environment(self, environment_id, **kwargs):
          '''
          modify_environment(self, environment_id, **kwargs)
  
          Modifies an existing environment
  
          :Parameters:
          * *environment_id* (`string`) -- The environment identifier
  
          Keywords args:
          The variables to change in the environment
  
          :return: id of the created environment
  
          '''
          request_data = {'id': environment_id}
          request_data.update(**kwargs)
          return self._call_rest_api('post', '/environments', data=request_data, error='Failed to modify environment'f modify_environment(self, environment_id, **kwargs):
          '''
          modify_environment(self, environment_id, **kwargs)
  
          Modifies an existing environment
  
          :Parameters:
          * *environment_id* (`string`) -- The environment identifier
  
          Keywords args:
          The variables to change in the environment
  
          :return: id of the created environment
  
          '''
          request_data = {'id': environment_id}
          request_data.update(**kwargs)
          return self._call_rest_api('post', '/environments', data=request_data, error='Failed to modify environment')
docs: modify_environment(self, environment_id, **kwargs)
  
          Modifies an existing environment
  
          :Parameters:
          * *environment_id* (`string`) -- The environment identifier
  
          Keywords args:
          The variables to change in the environment
  
          :return: id of the created environment