Assign Cohort Students

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

Assign students to a Smart IA Cohort

Path parameters

application/json

Body Required

  • userIds array[string(uuid)] Required

    The list of user IDs.

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 \
 --request POST 'https://connect.century.tech/api/v1/smart-ia/cohorts/c334f818-0281-4f47-855a-3a3d0e356cfd/students' \
 --header "x-api-key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"userIds":["string"]}'
Request examples
{
  "userIds": [
    "string"
  ]
}