shareItemWithGroup

Function

import { shareItemWithGroup } from '@esri/arcgis-rest-sharing';
//
shareItemWithGroup({
  id: "abc123",
  groupId: "xyz987",
  authentication
})

Share an item with a group, either as an item owner, group admin or organization admin.

Parameters

Parameter Type Default Notes
requestOptions Required IGroupSharingRequestOptions

Options for the request.

Returns

Promise<ISharingResponse> - A Promise that will resolve with the data from the response.


Function defined in packages/arcgis-rest-sharing/src/group-sharing.ts:42