':param environment_id: guid of the environment to modify
:param name: update the name of the environment
:param description: update the description of the environment
:return:'

def update_environment(self, environment_id, name='', description=''):

    self._valid_name_and_description(name=name, description=description)
    body = json.dumps({'name': name, 'description': description})
    return self.request(method='PUT', url='/v1/environments/{0}'.format(environment_id), params={'version': self.version}, data=body, headers={'content-type': 'application/json'}, accept_json=True)
