# Unit controller update instance v1 **PATCH /api/v1/unit/instance/{id}** ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Path parameters - **id** (string) ### Body: application/json (object) - **courseIntakeId** (string) - **departmentId** (string) - **Code** (string) - **lecturerId** (string) - **personalizedOutline** (string) - **semesterId** (string) - **studentGroupingsEnabled** (boolean) - **unitVersionId** (string) ## Responses ### 200 ### 400 Default bad request error 400 response #### Body: application/json (object) - **message** (string) Response message - **error** (string) - **statusCode** (number) [Powered by Bump.sh](https://bump.sh)