Updates taxonomy
const inputBody = '{
"title": "Important",
"color": 3,
"parent": 123
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('https://{instance}.paligoapp.com/api/v2/taxonomies/{id}/',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Body parameter
{
"title": "Important",
"color": 3,
"parent": 123
}
Responses
{
"id": 123,
"title": "Important",
"color": 3,
"parent": 38
}