reassignItem
FunctionreassignItem(reassignOptions: IReassignItemOptions): Promise<IReassignItemResponse>Reassign an item from one user to another. Caller must be an org admin or the request will fail. currentOwner and targetUsername must be in the same organization or the request will fail
import { reassignItem } from '@esri/arcgis-rest-portal';
reassignItem({
  id: "abc123",
  currentOwner: "charles",
  targetUsername: "leslie",
  authentication
})Parameters
| Parameter | Type | Notes | 
|---|---|---|
| reassign | IReassignItemOptions | Options for the request | 
Returns
Promise<IReassignItemResponse>