Select to view content in your preferred language

/canReassign returns Item instead of expected response

272
0
11-28-2023 01:25 PM
Labels (1)
Thomas_Z2
New Contributor III

The endpoint /content/users/[UserY]/items/[ItemId]/canReassign works perfectly with ArcGIS Online and returns the expected response. However, when used with ArcGIS Enterprise, the Item is returned instead of the expected response.

https://[RootURL]/portal/sharing/rest/content/users/[UserY]/items/[ItemId]/canReassign?targetUsername=[UserX]&token=[token]&f=json 

Is this a bug, or is the documentation wrong?

We are using ArcGIS Enterprise 11.1.

The response is equals of the response of /content/users/[UserY]/items/[ItemId]. It seems like the route /canReassign is ignored with ArcGIS Enterprise.

0 Kudos
0 Replies