Java/REST API for Modifying git-lfs option?

Would love to use a Java API or a REST API to get/modify the git-lfs enabling/disabling for bitbucket server. Is it possible currently in bitbucket 6.6.2 version?

As far as I know, the REST API does not exist as of yet.