Module Values.BatchCreateUserRequestSource

Creates multiple users in a specified Wickr network. This operation allows you to provision multiple user accounts simultaneously, optionally specifying security groups, and validation requirements for each user. codeValidation, inviteCode, and inviteCodeTtl are restricted to networks under preview only.

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

    The ID of the Wickr network where users will be created.

    *)
  2. users : BatchCreateUserRequestItems.t;
    (*

    A list of user objects containing the details for each user to be created, including username, name, security groups, and optional invite codes. Maximum 50 users per batch request.

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

    A unique identifier for this request to ensure idempotency. If you retry a request with the same client token, the service will return the same response without creating duplicate users.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> networkId:NetworkId.t -> users:BatchCreateUserRequestItems.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `List of [> `String of SecurityGroupId.t ] list | `String of SensitiveString.t ]) list ] 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