unshareItemWithGroup

unshareItemWithGroup

Function
unshareItemWithGroup(requestOptionsIGroupSharingOptions): Promise<ISharingResponse>

Stop sharing an item with a group, either as anitem owner,group admin or organization admin.

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

unshareItemWithGroup({
  id: "abc123",
  groupId: "xyz987",
  owner: "some-owner",
  authentication: session
})
Parameters
ParameterTypeNotes
requestOptions
IGroupSharingOptions

Options for the request.

Returns 
Promise<ISharingResponse>

A Promise that will resolve with the data from the response.

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