const url = 'https://api.sureshake.com/v2/vault/access/revoke';
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
collectionId: '0ffe69e2-b7af-4b1e-835c-867376165f50',
walletAddresses: ['string'],
tokenType: 'access',
reason: 'string'
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));