Skip to content

/AWS1/CL_CMT=>DELETEPULLREQAPPROVALRULE()

About DeletePullRequestApprovalRule

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.

Method Signature

IMPORTING

Required arguments:

IV_PULLREQUESTID TYPE /AWS1/CMTPULLREQUESTID /AWS1/CMTPULLREQUESTID

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

IV_APPROVALRULENAME TYPE /AWS1/CMTAPPROVALRULENAME /AWS1/CMTAPPROVALRULENAME

The name of the approval rule you want to delete.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CMTDELPULLREQAPPROV01 /AWS1/CL_CMTDELPULLREQAPPROV01