Hello @Zuki! Thanks for sharing, and sorry for the trouble!!
https://docs.rstudio.com/connect/user/publishing.html#publishing-collaboration
Did you see this section in the docs before? It might be helpful! Specifically, are you version controlling / sharing the rsconnect folder? That is the magic that lets you automatically deploy to the same endpoint. From those docs:
This rsconnect folder should be added and committed into version control. It does not contain any private or secure information. However, it does contain the URL for the RStudio Connect server and the content URL. This information allows future publications to easily target the same endpoint.
If you do not have the rsconnect folder from the original deployment and want to create it, you should be able to specify the appId in the deployApp function. The value you want to choose is in the URL when you navigate to the content in the browser. For example, if my content URL is:
https://connect.example.com/connect/#/apps/1980/access
Then the value I want for appId is: 1980
Please let us know if that helps or if you have additional questions after trying that approach!