unshareItemFromGroups

Function

Unshare an item from a set of groups

  • unshareItemFromGroups(itemId: string, groups: string[], requestOptions: IRequestOptions, owner: string) : Promise<ISharingResponse[]>

Parameters

Parameter Type Default Notes
itemId Required string

Item Id to unshare from groups

groups Required string[]

Array of group id's from which the item will be unshared

requestOptions Required IRequestOptions
owner Optional string

optional Owner username to determine which endpoint to hit

Available requestOptions

Property Type Notes

Returns

Promise<ISharingResponse[]>

Function defined in common/src/items/unshare-item-from-groups.ts:15