auto approve pending updates?

Hi all, can someone point me to the right API reference guide for approving pending patches? I’m trying to build out a process that’ll approve these patches in a given policy.

thanks,
Alan

Id love to be able to do something like this too. I need to control most patches on our servers, but I dont want to have to manually approve defender updates daily.

This is the API call you’ll want to look at for approving patches:

I’m assuming you’re talking about manual approvals?