batchToggleUserSuspendStatus

Suspends or unsuspends multiple users in a Wickr network. Suspended users cannot access the network until they are unsuspended. This operation is useful for temporarily restricting access without deleting user accounts.

Samples

// Suspend multiple users
val resp = wickrClient.batchToggleUserSuspendStatus {
    networkId = "12345678"
    userIds = listOf<String>(
        "123",
        "456"
    )
    suspend = true
    clientToken = "6ba7b815-9dad-11d1-80b4-00c04fd430c8"
}
// Unsuspend users with partial failure
val resp = wickrClient.batchToggleUserSuspendStatus {
    networkId = "12345678"
    userIds = listOf<String>(
        "123",
        "456"
    )
    suspend = false
}