Values.UpdateUserResponseSourceUpdates the properties of an existing user in a Wickr network. This operation allows you to modify the user's name, password, security group membership, and invite code settings. codeValidation, inviteCode, and inviteCodeTtl are restricted to networks under preview only.
type nonrec t = {userId : UserId.t option;The unique identifier of the updated user.
*)networkId : NetworkId.t option;The ID of the network where the user was updated.
*)securityGroupIds : SecurityGroupIdList.t option;The list of security group IDs to which the user now belongs after the update.
*)firstName : SensitiveString.t option;The updated first name of the user.
*)lastName : SensitiveString.t option;The updated last name of the user.
*)middleName : GenericString.t option;The middle name of the user (currently not used).
*)suspended : Boolean.t option;Indicates whether the user is suspended after the update.
*)modified : Integer.t option;The timestamp when the user was last modified, specified in epoch seconds.
*)status : Integer.t option;The user's status after the update.
*)inviteCode : GenericString.t option;The updated invite code for the user, if applicable.
*)inviteExpiration : Integer.t option;The expiration time of the user's invite code, specified in epoch seconds.
*)codeValidation : Boolean.t option;Indicates whether the user can be verified through a custom invite code.
*)}type nonrec error = [ | `BadRequestError of BadRequestError.t| `ForbiddenError of ForbiddenError.t| `InternalServerError of InternalServerError.t| `RateLimitError of RateLimitError.t| `ResourceNotFoundError of ResourceNotFoundError.t| `ValidationError of ValidationError.t| `Unknown_operation_error of string * string option ]val 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 ]val 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 ]