Module Values.BatchToggleUserSuspendStatusRequestSource

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.

Sourcetype nonrec t = {
  1. networkId : NetworkId.t;
    (*

    The ID of the Wickr network where users will be suspended or unsuspended.

    *)
  2. suspend : Boolean.t;
    (*

    A boolean value indicating whether to suspend (true) or unsuspend (false) the specified users.

    *)
  3. userIds : UserIds.t;
    (*

    A list of user IDs identifying the users whose suspend status will be toggled. Maximum 50 users per batch request.

    *)
  4. clientToken : ClientToken.t option;
    (*

    A unique identifier for this request to ensure idempotency.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> networkId:NetworkId.t -> suspend:Boolean.t -> userIds:UserIds.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of UserId.t ] list | `String of NetworkId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t