# 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 - OAuth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the organization role. ### Body: application/json (object) - **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: 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)