No I am trying to exclude files, and so I tried iterating over every file and directory located at the root of the sync folder yet I as still seeing every directory being synced. I will try again tonight and see what happens. Just as an update to the situation: I want to sync a folder that has pictures and videos. When I enable selective sync, all files and folders still sync (this is expected as I have not disabled sync for anything). Next I wrote a script that iterates of every file and directory in the root of the sync folder. After the script runs (actions of the script were verified by output to stdout), directories that had syncing disabled were still synced. I thought there might be a problem with my script, so I turned to using Google Chrome and typed out the API call manually in the address bar. Still no success.