function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sreenivasulu AdipudiSreenivasulu Adipudi 

Delete records from AccountTeamMember object

Hi everyone,

I have a requirement to perform bulk updates on the AccountTeamMember object. Need to change the value on UserId field. But, UserId is not editable on  AccountTeamMember. I decided to delete the existing AccountTeamMember records and create new ones. When I try to delete it, the following error occurred.
"insufficient access rights on object id".
Is there any workaround for this requirement?

Thanks in advance!
Sreenivasulu A

 
AnkaiahAnkaiah (Salesforce Developers) 
Hi srinivasulu,

Refer the below help article to delete accountteam member.

https://help.salesforce.com/s/articleView?id=000383923&type=1

If this helps, please mark it as best answer.

Thanks!!