# Courses controller link to departments v1 **POST /api/v1/courses/link** ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Body: application/json (object) - **courseId** (string) - **departments** (array[string]) ## Responses ### 200 #### Body: application/json (object) - **message** (string) Response message - **metrics** (object) ### 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)