const url = '<base-url>/api/v1/computers/<machineId>/revoke';
const options = {method: 'POST', headers: {cookie: 'better-auth.session_token=<better-auth.session_token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));