Skip to main content
https://.thoughtindustries.com

Reschedule

Moves a user's enrollment from one course session to another. Supply the current course, the replacement course, and optionally a user ID to override the path parameter

Moves a user's enrollment from one course session to another. Supply the current course, the replacement course, and optionally a user ID to override the path parameter.

PUThttps://example.thoughtindustries.com/incoming/v2/users/:id/reschedule

Example request

curl -X PUT "https://example.thoughtindustries.com/incoming/v2/users/:id/reschedule" \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "currentCourseId": "00000000-0000-0000-0000-000000000000",
  "newCourseId": "00000000-0000-0000-0000-000000000000",
  "userId": "00000000-0000-0000-0000-000000000000"
}'

Parameters

NameTypeRequiredLocationDescription
idstringYespathThe id identifier.
currentCourseIduuidYesbodyThe UUID of the course session the user is currently enrolled in.
newCourseIduuidYesbodyThe UUID of the course session to move the user into.
userIduuidNobodyThe UUID of the user to reschedule. When provided, overrides the id path parameter.

Example response

"00000000-0000-0000-0000-000000000000"