Skip to main content
Question

Moving folders between different owners


Forum|alt.badge.img

I'm seeing an error when moving folders between different owners.
The request contents and response are as follows.
It has been pointed out that a new owner should be specified, but how should I specify it?

Request:
PUT: https://api.box.com/2.0/folders/277094708559

raw body:
{
    “parent”: {
        “owned_by”:{“id”:“34690427263”},
        “id”:“277094005474”
    }
}
 

Response:

{
    “type”:“error”,
    “status”:400,
    “code”:“cannot_make_collaborated_subfolder_private”,
    “help_url”:“http://developers.box.com/docs/#errors”,
    “message”:“Cannot move a collaborated subfolder to a private folder unless the new owner is explicitly specified”,
    “request_id”:“cajrjnhs2ugc7ixz”
}
 

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings