hey guys i'm trying to delete a file and always get `path_lookup/not_found/..`
the code is:
import requests import json url = "https://api.dropboxapi.com/2/files/delete_v2" headers = { "Authorization": "Bearer <access-token>",
"Content-Type": "application/json",
"Dropbox-Api-Select-Admin":
"dbmid:AADnRVGZHenLtFbLVdHDkqEJg3Dou4hWF4g" }
data = { "path": "id:Kd_cXYig9pAAAAAAAAAAQw" }
r = requests.post(url, headers=headers, data=json.dumps(data))
further more https://dropbox.github.io/dropbox-api-v2-explorer/#files_delete
only lets you try the deprecated api call. trying on stackoverflow as well: https://stackoverflow.com/questions/52368896/cant-delete-files-using-a-dropbox-business-team-token