Remove a specific content block from an assignment. Only admins and lecturers can delete content.
DELETE
/api/v1/assignment/{id}/content/{contentId}
curl \
--request DELETE 'https://api.echoplain.social/api/v1/assignment/assignment-123/content/content-1'
Response examples (200)
{
"message": "Content deleted successfully",
"success": true
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}