Is it possible to update a shared with sheet, by the shared with user via the APIs?
I'm updating sheets via the API, I have a sheet that was shared with me, where I have admin level access. Doing a SheetResources.UpdateSheet(sheetObject) returns an unauthorized error on the shared with sheet. Only the sheets that I own seem to be updatable via the API, any sheets that were shared with me, I am not authorize to update. Is there a way I can use the API to update sheets that was shared with a user, by that user and not necessarily the owner.
Thanks for your help with this.
Best Answer
-
Thanks for confirming! Yes you're correct, only the owner of a sheet can rename it, unless the Admin has been shared to the entire workspace where the sheet resides.
This chart has more information on permission levels and actions you can take:
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hey @sbryon
The ability to make changes to a Smartsheet item will depend on your permission levels and the action that you're looking to take.
Can you clarify what you're looking to update with Update Sheet? Are you changing the Project Settings or User Settings? Is it possible that Update Rows is the action you're looking for? See:
One way to test this is to see if you can take that action within the UI directly. If you're unable to make that change in the UI, you won't be able to make that change with the API, either.
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thank you Genevieve. My code was attempting to change the Sheet name, which works as long as it is not a shared sheet. You are right, this is the same in the UI, I am not able to update the name of the sheet even with Admin level access to that Sheet. Thank you for the info.
-
Thanks for confirming! Yes you're correct, only the owner of a sheet can rename it, unless the Admin has been shared to the entire workspace where the sheet resides.
This chart has more information on permission levels and actions you can take:
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives