const body = `{
"importToKnowledgeDefault": true,
"defaultVisibility": "ORGANIZATION",
"autoClassify": true,
"quotaBytes": 0
}`;
const response = await fetch('http://localhost:3000/api/plugins/docs/settings', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body,
});
const data = await response.text();