PUT api/2.0/project/template/{id}
Updates the existing template information with the parameters specified in the request.
Name |
Description |
Type |
Example |
id
sent in url
|
Template ID
|
number
|
1234
|
title
sent in body
|
New template title
|
string
|
some text
|
description
sent in body
|
New JSON template structure in the following format: {"tasks":[{"title":"Task without milestone"}],"milestones":[{"title":"milestone title","duration":0.5,"tasks":[{"title":"milestone task"}]}]}
|
string
|
some text
|
PUT api/2.0/project/template/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"title": "some text",
"description": "some text"
}