Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Comments

3 comments

  • Official comment
    Kourtney

    Hello Amay, 

    Having to pass folder ID 0 just means that the endpoint is going to transfer any owned content of the user to another user, but you will want to use this endpoint: https://developer.box.com/reference/put-users-id-folders-0/. This is necessary before deleting a user because otherwise any owned content is deleted with the user.

    Best,

    Kourtney, Box Developer Advocate

    Comment actions Permalink
  • Sandbox Amay Kulkarni

    Thanks, i want to get userid to transfer the data using : how can i get it?

    BoxFolder movedFolder = await client.UsersManager.MoveUserFolderAsync(sourceUserId, destinationUserId);
    0
    Comment actions Permalink
  • Kourtney

    Please check out this guide on locating common values

    0
    Comment actions Permalink

Please sign in to leave a comment.