Values.BatchToggleUserSuspendStatusRequestSourceSuspends 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.
type nonrec t = {networkId : NetworkId.t;The ID of the Wickr network where users will be suspended or unsuspended.
*)suspend : Boolean.t;A boolean value indicating whether to suspend (true) or unsuspend (false) the specified users.
*)userIds : UserIds.t;A list of user IDs identifying the users whose suspend status will be toggled. Maximum 50 users per batch request.
*)clientToken : ClientToken.t option;A unique identifier for this request to ensure idempotency.
*)}val make :
?clientToken:??? ->
networkId:NetworkId.t ->
suspend:Boolean.t ->
userIds:UserIds.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `List of [> `String of UserId.t ] list
| `String of NetworkId.t ])
list ]