/api/folder/update
POST Update the specified folder.
Parameter
Description
folderId
The folder's ID
newName
The new name of the folder
newDescription
The new description of the folder
newColor
"red","orange","green","yellow","aqua","blue","purple","pink"
Sample Code:
var data = {
"folderId": "KMUFMKTBHINM4",
"newName": "New Name",
"newDescription": "New Description",
"newColor": "red"
};
var requestOptions = {
method: 'POST',
body: JSON.stringify(data),
redirect: 'follow'
};
fetch("http://localhost:41595/api/folder/update", requestOptions)
.then(response => response.json())
.then(result => console.log(result))
.catch(error => console.log('error', error));Results Returned:
Last updated
Was this helpful?