LearnDash icon

LearnDash

Interact with the LearnDash LMS REST API

Actions60

Assignments → Delete

AI-generated

Summary

Delete an assignment in LearnDash by specifying its numeric ID.

Inputs

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

Output shape

a single record containing the API response for the deleted assignment, returned as JSON array with one item.

The operation returns the API response wrapped in a JSON array. The output format depends on LearnDash API's deletion response. This operation requires the Item ID of the assignment to delete and uses HTTP DELETE method internally.

Discussion