const url = 'https://api.channelautomation.com/api/notification-alerts/<id>';
const options = {method: 'PUT', headers: {'X-API-Key': '<X-API-Key>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));