Change Owner via API

cancel
Showing results for 
Search instead for 
Did you mean: 
jose_leon_coupa
Active Member II

Change Owner via API

Hi all,

 

Is it possible to change the owner of a content via a REST API? If not, are there any alternative option?

 

Thanks.

1 Reply
angelborroy
Alfresco Employee

Re: Change Owner via API

I didn't try that, but I guess you can invoke PUT /nodes/{nodeId} with following body:

{
  "properties":
  {
    "cm:owner":"userId"
  }
}
Software Engineer in Alfresco Search Team.