Skip to content

Course enrollments

Who has access to which course, from when until when (source: manual or purchase). POST grants access; actions: revoke, restore.

Module: Courses (courses).

  • GET /api/v1/course_enrollments - List with filters, sorting and pagination (scope courses:read)
  • GET /api/v1/course_enrollments/{id} - A record by id (scope courses:read)
  • POST /api/v1/course_enrollments - Create a record (scope courses:write)
  • PATCH /api/v1/course_enrollments/{id} - Modify the submitted fields (scope courses:write)
  • DELETE /api/v1/course_enrollments/{id} - Delete or deactivate (scope courses:write)
  • POST /api/v1/course_enrollments/{id}/revoke - Withdraws access; progress is kept. (scope courses:write)
  • POST /api/v1/course_enrollments/{id}/restore - Restores withdrawn access. (scope courses:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • course_id (string; write, required)
  • party_id (string, uuid; write, required)
  • source (string; read)
  • status (string; read)
  • starts_at (string, date-time; read)
  • ends_at (string; write)
  • created_by (string; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • completed_notified_at (string, date-time; read)
  • course_enrollments.created
  • course_enrollments.updated
  • course_enrollments.deleted