# Update org department **PATCH /orgs/departments/{departmentId}** ## Servers - https://open.api.missionx.ai/v2: https://open.api.missionx.ai/v2 () ## Authentication methods - O auth2 ## Parameters ### Path parameters - **departmentId** (string) The department's unique document ID, i.e. `org.departments[]._id`. ### Body: application/json (object) - **customId** (string) A custom identifier for internal reference by your system (not used by missionX). - **title** (string) The name of the department. - **description** (string) An optional description for the department. ## Responses ### 200 Successful response #### Body: application/json (object) - **_id** (string(ObjectId)) The unique document ID. - **customId** (string) A custom identifier for internal reference by your system (not used by missionX). - **title** (string) The name of the department. - **description** (string) An optional description for the department. ### 400 Bad Request #### Body: application/json (object) - **message** (string) An error message. - **code** (string) An error code to handle specific error responses. - **data** (object) Optionally, additional data to help handle the error. ### 500 Internal Server Error #### Body: application/json (object) - **message** (string) An error message. - **code** (string) An error code to handle specific error responses. - **data** (object) Optionally, additional data to help handle the error. [Powered by Bump.sh](https://bump.sh)