eager-fall-70737
11/06/2025, 9:17 AMwide-umbrella-5226
11/06/2025, 11:32 AMwide-umbrella-5226
11/06/2025, 11:32 AMjs
const axios = require('axios');
let data = '';
let config = {
method: 'delete',
maxBodyLength: Infinity,
url: 'https://api.botpress.cloud/v1/chat/conversations/',
headers: {
'x-bot-id': ''
},
data : data
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
this request works after swapping the x-bot-id for your own, adding the conversation id after "conversations/" and adding an authorization header with your PAThallowed-branch-46463
11/06/2025, 1:26 PM