Hi,
I want to give permission to file or folders using rest api of Drop Box.
Note-
i want add permission on already added file or folders,not when sharing file or folders.
To add members to already shared folders or files, you should use the /2/sharing/add_folder_member or /2/sharing/add_file_member endpoints, respectively.
Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.