const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://{instance}/api/v2/comment/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));