cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get Parent Id of a file/folder in a non shared folder .NET

Get Parent Id of a file/folder in a non shared folder .NET

Filip J.1
New member | Level 1

How do you get the Parent Id of a file or folder that is contained in a folder that is not shared?

Similar to ParentSharedFolderId in sharingInfo but solely for items in non-shared folders

1 Reply 1

Greg-DB
Dropbox Staff

FileMetadata doesn't contain the ID for its parent(s), so you'll have to query the parent folder(s) to get the ID(s) if you need them. E.g., use GetMetadata or ListFolder to get the FolderMetadata as desired.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?