Assign Cohort Students

POST /smart-ia/cohorts/{cohortId}/students

Assign students to a Smart IA Cohort

Path parameters

  • cohortId string(uuid) Required

    The ID of the cohort.

application/json

Body Required

  • userIds array[string(uuid)] Required

    User UUID

Responses

  • Students assigned successfully.

  • Invalid request.

  • Invalid authentication credentials

  • Not authorised to access this resource

  • Cohort not found.

POST /smart-ia/cohorts/{cohortId}/students
curl \
 -X POST https://connect.century.tech/api/v1/smart-ia/cohorts/c334f818-0281-4f47-855a-3a3d0e356cfd/students \
 -H "Content-Type: application/json" \
 -d '{"userIds":["68f06c66-702a-4c26-b8c5-b6dc4f81f25d"]}'
Request examples
{
  "userIds": [
    "68f06c66-702a-4c26-b8c5-b6dc4f81f25d"
  ]
}