# Remove material from assignment **DELETE /api/v1/assignment/{id}/material/{materialId}** Delete a specific material from an assignment. Only admins and lecturers can remove materials. ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Path parameters - **id** (string) UUID of the assignment - **materialId** (string) UUID of the material to remove ## Responses ### 200 Material removed successfully ### 400 Default bad request error 400 response #### Body: application/json (object) - **message** (string) Response message - **error** (string) - **statusCode** (number) ### 403 Forbidden - Admin or Lecturer role required ### 404 Assignment or material not found [Powered by Bump.sh](https://bump.sh)