Groups
Create New Group
Creates a new group within your organization. Supply a name for the group. Optionally provide created_by_user_id (the VOMO user ID of the group owner, who must be a member of your organization), a parent_id to nest the group under an existing group, and a members array of user IDs to immediately add members upon creation.
post/groups
Request body
Example request
{
"name": "Morning Crew",
"description": "A group for the morning crew to organize",
"member_moniker": "Member",
"subgroup_moniker": "Subgroup"
}Response
Returns the newly created group record. Note: on success this endpoint returns 200 OK, not 201 Created.
Example response
{
"data": {
"name": "Afternoon Team",
"description": "This team will take over for the morning team at 12pm",
"has_subgroups": true,
"created_at": "2016-03-07T07:49:41+00:00",
"updated_at": "2016-03-07T07:49:41+00:00"
}
}