How can I revoke INFocusStatusCenter.default.requestAuthorization on macOS?

Hi. I'm experimenting with some code that calls INFocusStatusCenter.default.requestAuthorization

How can I revoke the authorisation on macOS so it will trigger the prompt again?

Thanks.

Accepted Reply

I was randomly searching these forums and happened to see someone mention tccutil, which does exactly what I need. The man page has great example usage.

Problem solved.

Replies

I was randomly searching these forums and happened to see someone mention tccutil, which does exactly what I need. The man page has great example usage.

Problem solved.