Slack統合マッピングの更新
Slack統合マッピングの更新
PUT integration_mappings/slack/:integration_mapping_id
呼び出しを使用して、既存のマッピングまたはターゲットのBoxフォルダを更新します。
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`
);