Link groups to a course

POST /v1/courses/{courseId}/groups~bulkAdd

Link groups to a course

Path parameters

  • courseId string Required

    The id of the course

application/json

Body Required

  • groupIds array[string] Required

    The ids of the groups to link

  • withEmailNotification boolean

    Set to true to send notification mail to each invited members

Responses

  • 204

    Groups linked successfully

  • 400

    Malformed payload

POST /v1/courses/{courseId}/groups~bulkAdd
curl \
 --request POST 'https://openapi.meltingspot.io/v1/courses/{courseId}/groups~bulkAdd' \
 --header "Content-Type: application/json" \
 --data '{"groupIds":["string"],"withEmailNotification":true}'
Request examples
{
  "groupIds": [
    "string"
  ],
  "withEmailNotification": true
}