# Update assignment details **PATCH /api/v1/assignment/{id}** Update assignment information such as title, description, deadline, or grading criteria. Only admins and lecturers can update assignments. ## 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 to update ### Body: application/json (object) Updated assignment data (partial update supported) - **title** (string) - **description** (string) - **marks** (number) - **status** (string) - **releaseDate** (string(date-time)) - **dueDate** (string(date-time)) - **maxAttempts** (number) ## Responses ### 200 Assignment updated successfully ### 400 Invalid assignment data ### 403 Forbidden - Admin or Lecturer role required ### 404 Assignment not found [Powered by Bump.sh](https://bump.sh)