Define a template file to use for given project.
Template files are located on the server side. Each template has a name which means that you just have to give a name to "select" the template to link with the project.
POST
/actions/projects/{project_id}/set-file-tree
curl \
--request POST 'http://api.example.com/actions/projects/a24a6ea4-ce75-4665-a070-57453082c25/set-file-tree' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"tree_name":"default"}'
Request examples
{
"tree_name": "default"
}
Response examples (200)
{
"success": true,
"tree_name": "default"
}