shareItemToGroups

Function

Share an item to a set of groups

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

Parameters

Parameter Type Default Notes
itemId Required string

Iten Id to share to the groups

groups Required string[]

Array of group id's to which the item will be shared

requestOptions Required IRequestOptions

Available requestOptions

Property Type Notes

Returns

Promise<ISharingResponse[]>

Function defined in packages/common/src/items/share-item-to-groups.ts:13