Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Copy Role
D2LBRIGHTSPACE_COPY_ROLECreates a new role copied from an existing role in D2L Brightspace. Notes: - The new role will not have any capabilities upon the old role from which it was created - Some capabilities will be copied for the new role (e.g., if old role users could impersonate other old role users, new role users will be able to impersonate other new role users) - Additional capabilities must be manually created after copying Requires OAuth2 scope: - role:detail:create Available in API versions unstable (LMS v10.4.10+)
Create Course Offering
D2LBRIGHTSPACE_CREATE_A_COURSE_OFFERINGCreates a new course offering in D2L Brightspace. Notes: - Course code limitations: max 50 chars, no special chars: \ : * ? " < > | ' # , % & - Path: leave empty if path enforcement is enabled - SemesterId: provide null if not using the Semester element - CanSelfRegister: required for API v1.28+, not supported before v1.28 Requires OAuth2 scope: - orgunits:course:create Available in API versions 1.46+ (LMS v20.24.3+)
Create Course Template
D2LBRIGHTSPACE_CREATE_A_COURSE_TEMPLATECreates a new course template in D2L Brightspace. Notes: - Course template code limitations: max 50 chars, no special chars: \ : * ? " < > | ' # , % & - Path: leave empty if path enforcement is enabled Requires OAuth2 scope: - orgunits:coursetemplate:create Available in API versions 1.46+ (LMS v20.24.3+)
Create Grade Object
D2LBRIGHTSPACE_CREATE_GRADE_OBJECTCreates a new grade object for a particular org unit. The grade object can be one of four types: 1. Numeric: For numeric grades with max points 2. PassFail: For pass/fail assessments 3. SelectBox: For predefined grade options 4. Text: For text-only feedback Returns a GradeObject JSON block containing the created grade object's data, including its assigned ID. Requires OAuth2 scope: - grades:gradeobjects:write Available in API versions 1.75+ (LMS v20.24.5+)
Create Quiz
D2LBRIGHTSPACE_CREATE_QUIZCreates a new quiz in D2L Brightspace. Notes: - NumberOfAttemptsAllowed must be between 1 and 10 (inclusive) or null for unlimited - Password must not be empty or whitespace if provided - NotificationEmail must be a valid email address if provided - TimeLimitValue: 0 for no limit (with IsEnforced false), or 1-9999 for enforced limit - DeductionPercentage must be between 0 and 100 if provided - As of LE API v1.71: - LateLimitMinutes is ignored - LateSubmissionOption 1 is treated as 2 (AutoSubmitAttempt) - SubmissionGracePeriod is not used - PagingTypeId added in LE API v1.78 - Date fields should be in UTC format Requires OAuth2 scopes: - quizzing:quizzes:read - quizzing:quizzes:create Available in API versions 1.75+ (LMS v20.24.5+)
Create Quiz Category
D2LBRIGHTSPACE_CREATE_QUIZ_CATEGORYCreates a new quiz category in D2L Brightspace. Returns a QuizCategoryReadData JSON block containing: - CategoryId: The ID of the created category - Name: The name of the category - SortOrder: The sort order value Requires OAuth2 scopes: - quizzing:quizzes:read - quizzing:quizzes:create Available in API versions 1.75+ (LMS v20.24.5+)
Create User
D2LBRIGHTSPACE_CREATE_USERCreates a new user entity in D2L Brightspace. Requires OAuth2 scope: - users:userdata:create Available in API versions 1.46+ (LMS v20.24.3+) Notes: - FirstName and LastName are used as legal names - ExternalEmail must be null or a valid email address - OrgDefinedId must be unique across the organization if provided - Preferred names must be set separately after user creation
Delete Course Template
D2LBRIGHTSPACE_DELETE_A_COURSE_TEMPLATEDeletes a course template from D2L Brightspace. Requires OAuth2 scope: - orgunits:course:delete Available in API versions 1.46+ (LMS v20.24.3+)
Delete Course
D2LBRIGHTSPACE_DELETE_COURSEDeletes a course offering from D2L Brightspace. Requires OAuth2 scope: - orgunits:course:delete Available in API versions 1.46+ (LMS v20.24.3+)
Delete Grade Object
D2LBRIGHTSPACE_DELETE_GRADE_OBJECTDeletes a specific grade object from an org unit. Requires OAuth2 scope: - grades:gradeobjects:delete Available in API versions 1.75+ (LMS v20.24.5+)
Delete Quiz
D2LBRIGHTSPACE_DELETE_QUIZDeletes a quiz from D2L Brightspace. Requires OAuth2 scope: - quizzing:quizzes:delete Available in API versions 1.75+ (LMS v20.24.5+)
Delete Quiz Category
D2LBRIGHTSPACE_DELETE_QUIZ_CATEGORYDeletes a quiz category from D2L Brightspace. Requires OAuth2 scope: - quizzing:quizzes:delete Available in API versions 1.75+ (LMS v20.24.5+)
Delete User
D2LBRIGHTSPACE_DELETE_USERDeletes a user entity from D2L Brightspace. Requires OAuth2 scope: - users:userdata:delete Available in API versions 1.46+ (LMS v20.24.3+)
Delete User Demographics
D2LBRIGHTSPACE_DELETE_USER_DEMOGRAPHICSDeletes a user's demographics entries: a nonempty list of entry IDs selects entries, while an omitted or empty list deletes all entries. Requires OAuth2 scope demographics:user:delete; available in API versions 1.46+ (LMS v20.24.3+).
Get Course Offering
D2LBRIGHTSPACE_GET_A_COURSE_OFFERINGRetrieves a specific course offering from D2L Brightspace. Returns a CourseOffering JSON block with the course's information. Requires OAuth2 scope: - orgunits:course:read Available in API versions 1.46+ (LMS v20.24.3+)
Get Course Template
D2LBRIGHTSPACE_GET_A_COURSE_TEMPLATERetrieves a course template from D2L Brightspace. Returns a CourseTemplate JSON block with the template's information. Available in API versions 1.46+ (LMS v20.24.3+)
Get Course Schema
D2LBRIGHTSPACE_GET_COURSE_SCHEMARetrieves the parent organizational unit type constraints for course offerings. Returns an array of schema elements describing the allowed parent types. Available in API versions 1.46 and later (LMS v20.24.3 and later).
Get Course Template Schema
D2LBRIGHTSPACE_GET_COURSE_TEMPLATE_SCHEMARetrieves course template parent organizational unit type constraints as an array of schema elements. Available in API versions 1.46+ (LMS v20.24.3+).
Get Current User Information
D2LBRIGHTSPACE_GET_CURRENT_USERRetrieves the current user context's user information from D2L Brightspace. Requires one of these OAuth2 scopes: - users:profile:read - users:own_profile:read Available in API versions 1.46+ (LMS v20.24.3+)
Get Enrolled Roles
D2LBRIGHTSPACE_GET_ENROLLED_ROLESRetrieves a list of all enrolled user roles the calling user can view in an org unit. Returns a JSON array of Role data blocks containing the properties of all user roles that the calling user context has permission to view and that are currently enrolled in the provided org unit. Requires OAuth2 scope: - role:detail:read Available in API versions 1.46+ (LMS v20.24.3+)