const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({action: 'provision', ids: ['<string>'], params: {}})
};
fetch('https://api.example.com/v1/regions/{region}/infrastructure/servers/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));