LearnDash icon

LearnDash

Interact with the LearnDash LMS REST API

Actions60

Lessons → Delete

AI-generated

Summary

Delete a LearnDash lesson by specifying its numeric ID.

Inputs

  • Item ID (required) — Numeric ID of the lesson to delete.

Output shape

a list containing the API response objects for the delete operation, typically confirming deletion or any errors.

Outputs are returned as an array of JSON objects representing the API response. Errors during deletion will be raised as node errors.

Examples

Example 1: Delete a lesson with ID 456

Set Resource to Lessons, Operation to Delete, and Item ID to 456.

Discussion