UNPKG

@esri/arcgis-rest-portal

Version:

ArcGIS Online and Enterprise content and user helpers for @esri/arcgis-rest-request

23 lines (22 loc) 832 B
import { IGroupSharingOptions, ISharingResponse } from "./helpers.js"; /** * Stop sharing an item with a group, either as an * [item owner](https://developers.arcgis.com/rest/users-groups-and-items/unshare-item-as-item-owner-.htm), * [group admin](https://developers.arcgis.com/rest/users-groups-and-items/unshare-item-as-group-admin-.htm) or * organization admin. * * ```js * import { unshareItemWithGroup } from '@esri/arcgis-rest-portal'; * * unshareItemWithGroup({ * id: "abc123", * groupId: "xyz987", * owner: "some-owner", * authentication: session * }) * ``` * * @param requestOptions - Options for the request. * @returns A Promise that will resolve with the data from the response. */ export declare function unshareItemWithGroup(requestOptions: IGroupSharingOptions): Promise<ISharingResponse>;