Module Values.DeleteUserRequestSource

Deletes the specified UserID within the collection. Faces that are associated with the UserID are disassociated from the UserID before deleting the specified UserID. If the specified Collection or UserID is already deleted or not found, a ResourceNotFoundException will be thrown. If the action is successful with a 200 response, an empty HTTP body is returned.

Sourcetype nonrec t = {
  1. collectionId : CollectionId.t;
    (*

    The ID of an existing collection from which the UserID needs to be deleted.

    *)
  2. userId : UserId.t;
    (*

    ID for the UserID to be deleted.

    *)
  3. clientRequestToken : ClientRequestToken.t option;
    (*

    Idempotent token used to identify the request to DeleteUser. If you use the same token with multiple DeleteUser requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientRequestToken:??? -> collectionId:CollectionId.t -> userId:UserId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CollectionId.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