const response = await fetch('https://sentinel.metatable.dev/api/v1/ban-async', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"overwrite": true,
"userId": 1,
"experienceId": 1,
"banModerator": 1,
"banType": "Experience",
"banLengthType": "Temporary",
"banLength": "text",
"banPrivateReason": "text",
"banPublicReason": "text"
}),
});
const data = await response.json();