# How to update the repo tree with the api

**URL:** <https://forum.gitea.com/t/how-to-update-the-repo-tree-with-the-api/2745>\
**Category:** API/SDK/Tea/HelmChart/Terraform\
**Created:** [December 11, 2020, 11:53am UTC](https://forum.gitea.com/t/how-to-update-the-repo-tree-with-the-api/2745 "2020-12-11T11:53:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arlac77](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/arlac77/32/786_2.png) [@arlac77](https://forum.gitea.com/u/arlac77)\
**Post date:** [December 11, 2020, 11:53am UTC](https://forum.gitea.com/t/how-to-update-the-repo-tree-with-the-api/2745/1 "2020-12-11T11:53:43Z")

</div>

I am looking for something like:

POST “/repos/{owner}/{repo}/git/trees/{sha}” {tree\_data…}
