How to delete a cloud recording without having a UI?

I am working for a client where they want to automate the process of " delete the cloud recordings"
I tried with authentication code as per the documentation. But my situation is such that I cannot authenticate using a UI. The cloud recordings must be deleted automatically from the API.

Can someone please help me on this?

Is it even possible?