Module Values.DeletePullRequestApprovalRuleInputSource

Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request.

Sourcetype nonrec t = {
  1. pullRequestId : PullRequestId.t;
    (*

    The system-generated ID of the pull request that contains the approval rule you want to delete.

    *)
  2. approvalRuleName : ApprovalRuleName.t;
    (*

    The name of the approval rule you want to delete.

    *)
}
Sourceval context_ : string
Sourceval make : pullRequestId:PullRequestId.t -> approvalRuleName:ApprovalRuleName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PullRequestId.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