PUT api/2.0/project/template/{id}
Updates the existing template information
Name |
Description |
Type |
Example |
id
sent in url
|
Template ID
|
number
|
1234
|
title
sent in body
|
Title
|
string
|
some text
|
description
sent in body
|
JSON template structure. Sample: {"tasks":[{"title":"Task without milestone"}],"milestones":[{"title":"milestone title","duration":0.5,"tasks":[{"title":"task milestone"}]}]}
|
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"
}