Changing Content Owners

Hi,

We're running RSC 1.7.8. I'm having trouble how to update owners on content.

I'm following this section of the RSC API guide.

I saw this old thread and all the CLI things are out of date (I'm assuming in favor of the API as mentioned at the end of the thread).

Do I need to update our RSC version? Is there any other way to change this?

Thanks!

1 Like

Hello @davisderodes !

So a couple of options:

  • The CLI guide is here now (apologies for the broken link!). It is still possible to transfer content with the CLI, but it moves in "bulk" IIRC

https://docs.rstudio.com/connect/admin/appendix/cli/#commands_1

Although that is for a newer version of connect. For 1.7.8, you want:

https://docs.rstudio.com/connect/1.7.8/admin/cli.html#cli-usermanager

  • As for the API guide, you are better off referencing your particular release (which is stored on your Connect server under the "Documentation" tab, or here. Unfortunately, it does look like the new API endpoints were shipped after 1.7.8, so if you want to make use of the API to modify owners, you will need to upgrade Connect:

https://docs.rstudio.com/connect/1.7.8/api/#updateContent

I hope that helps!! If you do decide to upgrade, there is a thread linked in the thread you linked that discusses this type of thing in more detail: