How to "Revoke Access" to an application (API)



I have applications that can write etc on my account. Normally I could manually click on the button “Revoke Access” to remove them.

I wonder how this can be done with the API?

Thank you


There is no API for this, you need to use the UI on the web.


I understand, I thank you for your help!