const url = 'https://api.sureshake.com/v2/entities/<id>/followers';
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
followerId: 'string',
roleIds: ['497f6eca-6276-4993-bfeb-53cbbbba6f08'],
notificationsEnabled: true
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));