Skip to main content
Question

Updating owned_by property has no effect

  • May 22, 2025
  • 2 replies
  • 22 views

Forum|alt.badge.img

Using the REST API and the Postman tool I am trying to change the owned_by property to another user.  After what appears to be a successful post and then examining the folder there is not change - the owned_by property does not change.  Here is the body of the PUT.

 

{
    "owned_by": {
                    "type": "user",
                    "id":  "***number removed for privacy***2",
                    "name": "Some User",
                    "login": "***email address removed for privacy***"
                }

Why does the owner not change?

2 replies

Forum|alt.badge.img

Hi  — if you want to make another user the owner of one of your folders, the way to do this involves two steps:

 

1. Create a collaboration on the folder for that user

2. Update the collaboration to change the `role` to "owner"


Forum|alt.badge.img

Your step 2 does not make sense to me yet.  Updating the collaborator role accepts only the following options and none are owner.

 

"editor", "viewer", "previewer", "uploader", "previewer uploader", "viewer uploader", "co-owner"
 
Again, my goal is to take a folder and change the owner to another owner which is why I originally attempted to update the Folder Object with new data.