var data = {
"itemIds": ["KWLKGQW2HTHC7", "KWLOGLTX0FGHF"]
};
var requestOptions = {
method: 'POST',
body: JSON.stringify(data),
redirect: 'follow'
};
fetch("http://localhost:41595/api/item/moveToTrash", requestOptions)
.then(response => response.json())
.then(result => console.log(result))
.catch(error => console.log('error', error));