I'm trying to update the ownerid via HTTP request
accountToUpdate.Add("ownerid@odata.bind", "/systemusers(" + ReizigerGuid + ")");
HttpRequestMessage updateRequest = new HttpRequestMessage(new HttpMethod("PATCH"), crmApiUrl + "accounts(" + AccountId + ")");
updateRequest.Content = new StringContent(accountToUpdate.ToString(), Encoding.UTF8, "application/json");
But i'm getting an forbidden error. Can someone explain what could be wrong of why this isn't working?
all other request do work.
*This post is locked for comments