post https://example.com/v1/lessons
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.
Responses
201Created - successfully created the lesson
401Unauthorized - when a valid bearer token is not supplied in the authorization header.
403Forbidden - when the requesting caller does not have the required permission to create lessons.