How to add sheet owner via api

sbryon ✭✭
edited 01/31/23 in API & Developers

My integration is creating new sheets in Smartsheet. When a new sheet is created, by default the logged in user becomes the owner. But I need to update the owner based on the other system's item owner. When I add the owner email to the SheetObject it throws an error:

{"The attribute(s) sheet.owner are not allowed for this operation."}

It also throws a similar error when I passed in the Smartsheet ownerid:

{"The attribute(s) sheet.ownerId are not allowed for this operation."}

Is there a way to update the owner during the sheet creation via the api, if not directly is there a workaround but still using the api.

Thank you.

Best Answer