Skip to content

Create a member group

POST
/v1/groups
curl --request POST \
--url https://api.varman.io/v1/groups \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "name": "Engineering", "description": "Everyone who ships code", "memberIds": [ "example" ] }'

Creates a group (for example Engineering or Contractors) with an optional list of member ids. Group names are unique per organization. Groups decide who must take assigned training.

Media typeapplication/json
object
name
required

Group name, unique in the organization

string

Example

Engineering
description

What the group is for

string

Example

Everyone who ships code
memberIds

Member ids (mem_…) to put in the group

Array<string>

The created group