Change Folder Owner
Change Folder Owner
To change the owner of a folder, first invite the user you wish to transfer the folder to as a collaborator on the folder.
cURL
curl -i -X POST "https://api.box.com/2.0/collaborations" \
-H "authorization: Bearer <ACCESS_TOKEN>" \
-H "content-type: application/json" \
-d '{
"item": {
"type": "file",
"id": "11446498"
},
"accessible_by": {
"type": "user",
"login": "user@example.com"
},
"role": "editor"
}'
Then, update the created collaboration by changing the role of
that invited user to owner
.