This allows you to modify user-specific settings for your Delta Storage account, including the edge node and secured mode.
try {
const updatedSettings = {
node: 'new_edge_node', // (optional) Specify a new edge node.
isSecureMode: true // (optional) Enable or disable secured mode (true or false).
}
const updateResult = await deltaStorage.updateSettings(updatedSettings)
console.log('User settings updated successfully.')
} catch (error) {
console.error(error.message)
}
Params
body
(object): An object containing the user-specific settings to update (edge node and isSecureMode).