# Update org role **PATCH /orgs/roles/{roleId}** ## Servers - https://open.api.missionx.ai/v2: https://open.api.missionx.ai/v2 () ## Authentication methods - O auth2 ## Parameters ### Path parameters - **roleId** (string) The role's unique document ID, i.e. `org.roles[]._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 role. E.g. `Director of Engineering`. - **cost** (number(float)) - **costRateTime** (string) - **billRate** (number(float)) - **billRateTime** (string) ## 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 role. E.g. `Director of Engineering`. - **cost** (number(float)) - **costRateTime** (string) - **billRate** (number(float)) - **billRateTime** (string) ### 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)