AddMembers
AddMembers
- Method: POST.
Adds the specified items to the members list of the given group Content. If the content is not a Group, an InvalidOperationException will be thrown.
Request example:
A Content that should be a Group.
POST /odata.svc/Root/...('targetContent')/AddMembersDATA:models=[{"contentIds": _value_}]
The targetContent
can be Group
Parameters:
- contentIds (
int[]
): An array of contentIds that represents the new members.
Return value:
Type: object
.
Requirements:
- AllowedRoles: Everyone