# Unit controller connect unit to course v1 **PATCH /api/v1/unit/connect-to-course** ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Query parameters - **unitId** (string) - **courseId** (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)