Update Slack Integration Mapping
Update Slack Integration Mapping
Use the PUT integration_mappings/slack/:integration_mapping_id
call to update the existing mapping or the target Box folder.
cURL
curl -X -L PUT "https://api.box.com/2.0/integration_mappings/slack/512521" \
-H "authorization: Bearer <ACCESS_TOKEN>" \
-H 'content-type: application/json' \
-d'{
"options": {
"is_access_management_disabled": true
}
}'
Node
const mapping = await client.integrationMappings.updateSlackIntegrationMapping({
box_item: {
id: '12345',
type: 'folder'
},
options: {
is_access_management_disabled: true
}
}, {
integration_mapping_id: integrationMappingId
});
console.log(
`Slack integration mapping with id ${mapping.id} was updated`
);