# Update organization role **PATCH /api/organization-roles/{id}** Update organization role details by ID with the given data. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **id** (string) The unique identifier of the organization role. ## Body parameters Content-type: application/json - **tenantId** (string) - **id** (string) - **name** (string) The updated name of the organization role. It must be unique within the organization template. - **description** (string | null) The updated description of the organization role. - **type** (string) ## Responses ### 200: The organization role was updated successfully. #### Body Parameters: application/json (object) - **tenantId** (string) - **id** (string) - **name** (string) - **description** (string | null) - **type** (string) ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden ### 404: Not Found ### 422: The organization role name is already in use. [Powered by Bump.sh](https://bump.sh)