Module Values.DisassociateQualificationFromWorkerRequestSource

The DisassociateQualificationFromWorker revokes a previously granted Qualification from a user. You can provide a text message explaining why the Qualification was revoked. The user who had the Qualification can see this message.

Sourcetype nonrec t = {
  1. workerId : CustomerId.t;
    (*

    The ID of the Worker who possesses the Qualification to be revoked.

    *)
  2. qualificationTypeId : EntityId.t;
    (*

    The ID of the Qualification type of the Qualification to be revoked.

    *)
  3. reason : String_.t option;
    (*

    A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.

    *)
}
Sourceval context_ : string
Sourceval make : ?reason:??? -> workerId:CustomerId.t -> qualificationTypeId:EntityId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CustomerId.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