reassignItem

Function
import { reassignItem } from '@esri/arcgis-rest-portal';
//
reassignItem({
  id: "abc123",
  currentOwner: "charles",
  targetUsername: "leslie",
  authentication
})

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

  • reassignItem(reassignOptions: IReassignItemOptions) : Promise<IReassignItemResponse>

Parameters

Parameter Type Default Notes
reassignOptions Required IReassignItemOptions

Options for the request

Returns

Promise<IReassignItemResponse>
Property Type Notes

Function defined in packages/arcgis-rest-portal/src/items/reassign.ts:38