Log in to see full request history

Creates a lesson within your Learn site.

The necessary fields required for a lesson to be created are the following:

  • Id
  • Code
  • Type (Allowed values can be seen within Body Params section)
  • DefaultCulture (e.g. en-GB)
  • LocalisedDetails (An array of culture specific information, such as the Title of the lesson, as these change throughout cultures)
  • Duration (In minutes)
  • IsEnabled

For other optional fields and further information on the above, please check out the body parameters listed further below.

Body Params

The lesson to create

uuid
string | null
string
string
string | null
array of objects | null
LocalisedDetails
string | null
int32
boolean | null
uuid | null
string | null
string | null
Responses
201

Created - successfully created the lesson

401

Unauthorized - when a valid bearer token is not supplied in the authorization header.

403

Forbidden - when the requesting caller does not have the required permission to create lessons.

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json