Module Values.BatchCreateUserResponseSource

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. message : GenericString.t option;
    (*

    A message indicating the overall result of the batch operation.

    *)
  2. successful : Users.t option;
    (*

    A list of user objects that were successfully created, including their assigned user IDs and invite codes.

    *)
  3. failed : BatchUserErrorResponseItems.t option;
    (*

    A list of user creation attempts that failed, including error details explaining why each user could not be created.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestError of BadRequestError.t
  2. | `ForbiddenError of ForbiddenError.t
  3. | `InternalServerError of InternalServerError.t
  4. | `RateLimitError of RateLimitError.t
  5. | `ResourceNotFoundError of ResourceNotFoundError.t
  6. | `UnauthorizedError of UnauthorizedError.t
  7. | `ValidationError of ValidationError.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?message:??? -> ?successful:??? -> ?failed:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestError of BadRequestError.t | `ForbiddenError of ForbiddenError.t | `InternalServerError of InternalServerError.t | `RateLimitError of RateLimitError.t | `ResourceNotFoundError of ResourceNotFoundError.t | `UnauthorizedError of UnauthorizedError.t | `Unknown_operation_error of string * string option | `ValidationError of ValidationError.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestError of BadRequestError.t | `ForbiddenError of ForbiddenError.t | `InternalServerError of InternalServerError.t | `RateLimitError of RateLimitError.t | `ResourceNotFoundError of ResourceNotFoundError.t | `UnauthorizedError of UnauthorizedError.t | `Unknown_operation_error of string * string option | `ValidationError of ValidationError.t ]
Sourceval error_to_json : error -> Yojson.Safe.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 UserId.t ]) list ] list | `String of GenericString.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