Skip to main content
Question

File: Created By vs. Owned By

  • May 21, 2025
  • 3 replies
  • 20 views

Forum|alt.badge.img

Hi,

When uploading a new file, how does one ensure the user who created the file is also the owner?

 

We have groups for both admins and users. When we create a collaboration between a folder and a group, the role is set to 'co-owner'. This is insufficient as shown below (file creator and owner are different users). 

 

Thanks,
Sam

 

*code*


"created_by"=>{"type"=>"user", "id"=>"removed for privacy", "name"=>"Test User", 
"modified_by"=>{"type"=>"user", "id"=>"removed for privacy", "name"=>"Test User", 
"owned_by"=>{"type"=>"user", "id"=>"removed for privacy", "name"=>"Admin-DEVELOPMENT", 

3 replies

Forum|alt.badge.img

Speaking in a more general sense, not specifically about the API:

 

In Box, whichever user owns a top-level folder (i.e. a folder that's not in any other folders) owns all of the files and folders within that tree.  The owner of the top-level folder defaults to whomever created it, but can be changed to be someone else.

 

Does that help any?

 

Ian


Forum|alt.badge.img

How does one change the owner through the API?


Forum|alt.badge.img