updateDataRetention

Updates the data retention bot settings, allowing you to enable or disable the data retention service, or acknowledge the public key message.

Samples

// Update data retention enable service
val resp = wickrClient.updateDataRetention {
    networkId = "12345678"
    actionType = DataRetentionActionType.fromValue("ENABLE")
}
// Update data retention disable service
val resp = wickrClient.updateDataRetention {
    networkId = "12345678"
    actionType = DataRetentionActionType.fromValue("DISABLE")
}
// Update data retention acknowledge pubkey message
val resp = wickrClient.updateDataRetention {
    networkId = "12345678"
    actionType = DataRetentionActionType.fromValue("PUBKEY_MSG_ACK")
}