reassignItem

reassignItem

Function
reassignItem(reassignOptionsIReassignItemOptions): 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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
import { reassignItem } from '@esri/arcgis-rest-portal';

reassignItem({
  id: "abc123",
  currentOwner: "charles",
  targetUsername: "leslie",
  authentication
})
Parameters
ParameterTypeNotes
reassignOptions
IReassignItemOptions

Options for the request

Returns 
Promise<IReassignItemResponse>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.