https://discord.gg/botpress logo
Hi guys!! I have a question... Do u know how can I...
# 🤝help
w
the only way i'm aware of is through the API using something like postman
Copy code
js
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 PAT
h
2 Views