This script uninstalls Applications on macOS Client with the help of jamf Pro
Copy the Script and create a new Script in jamf Pro under Settings - Computer Management - Scripts
Rename Parameter 4 and Parameter 5 in Options to Application Name and Application Path
Create a new Policy, choose the script and put in the name and the path on the values.