I am working on a project where I want to downscope a token to only allows uploads into a specific resource folder with no additional permissions.
I have been successful in generating the downscoped token using :
subject_token=&subject_token_type=urn:ietf:params:oauth:token-type:access_token&scope=base_upload&resource=&grant_type=urn:ietf:params:oauth:grant-type:token-exchange
With this returned token, I cannot see any folders higher than this resource however, I am still able to view the folder contents and navigate down the folder structure.
Is there a scope that will only allow the user to use the upload_file endpoint?
Thank you,