const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
slack_channel_id: '<string>',
teams_conversation_id: '<string>',
reviewer_agent_task_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
require_agent_review: true,
auto_file_insight_severities: ['<string>'],
notify_mode: '<string>',
notify_min_priority: '<string>',
notify_source_kinds: ['<string>'],
notify_event_scope: '<string>'
})
};
fetch('https://platform.ankra.app/api/v1/org/ai-tickets/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));