Skip to main content

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”
}
 

Be the first to reply!

Reply