unshareItemWithGroup
FunctionunshareItemWithGroup(requestOptions: IGroupSharingOptions): Promise<ISharingResponse>Stop sharing an item with a group, either as an item owner, group admin or organization admin.
import { unshareItemWithGroup } from '@esri/arcgis-rest-portal';
unshareItemWithGroup({
id: "abc123",
groupId: "xyz987",
owner: "some-owner",
authentication: session
})Parameters
| Parameter | Type | Notes |
|---|---|---|
request | IGroupSharingOptions | Options for the request. |
Returns
Promise<ISharingResponse>A Promise that will resolve with the data from the response.