Skip to content

API view to delete course content #21

@payamnj

Description

@payamnj

API view to delete course content
Authorization should validate if the user is the platform admin or editor for the organization that the course content is belonged to or a django super user.

request method DELETE
DELETE courses/<course_id>/contents/<content_id>

Should also validate if the content_id sent in the url belonged to the course_id in the url.

should only delete the content if the course is disabled and throw error if the course is enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions