const options = {
method: 'DELETE',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({teamId: '9c1b7b9a-8c2f-4a9d-9f63-2a1b5c7e8d90'})
};
fetch('https://api.trackpilots.com/v1/teams', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));