Hi,
I have been trying to use the API explorer to work out 1) who the owner of a folder is, and 2) then change the owner of the folder.
The main issue I'm coming across is that using 'list_folder' to get the id and sharing id (if shared) is that when using either as the id on 'list_file_members' it always returns an error. Even If I have authenticated as the folder owner or the person it has been shared with.
{
"error_summary": "access_error/is_folder/...",
"error": {
".tag": "access_error",
"access_error": {
".tag": "is_folder"
}
},
"user_message": {
"locale": "en_GB",
"text": "Invalid shared file ID."
}
}The business case is if someone leaves - we want to transfer ownership of their folders to an admin and the make them 'read-only' for anyone they are shared with.
Any help much appreciated.