SET_UNSET_ENVIRONMENT_VARIABLES should use PUT instead of POST in rest api prior to 1.6