Changing memory size for Shiny App on own RStudio/Posit Connect Server

Hello,

im currently trying to increase the memory usage of a Shiny App on my own Posit Connect Server.

For this I have successfully connected my local RStudio with the server (via API) and deployed an app.

When trying to change the memory size with

rsconnect::configureApp("myapp_name", size="xlarge")

the following error occurs:

Error: No application named 'myapp_name' is currently deployed

Adding additional information,

rsconnect::configureApp("myapp_name", server = "https://my.server.adress.com", account = "my_account", size="xlarge")

results in another error:

Error: You must register an account using setAccountInfo prior to proceeding.

Is there a solution for this problem or another way to change the memory usage of a deployed app?