> ## Documentation Index
> Fetch the complete documentation index at: https://kaneo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Organization Role

> Update Organization Role



## OpenAPI

````yaml /openapi.json post /auth/organization/update-role
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /auth/organization/update-role:
    post:
      tags:
        - Organization Management
      summary: Update Organization Role
      description: Update Organization Role
      operationId: updateOrganizationRole
      requestBody:
        required: true
        content:
          application/json:
            schema:
              allOf:
                - type: object
                  properties:
                    organizationId:
                      type: string
                    data:
                      type: object
                      properties:
                        permission:
                          type: object
                          additionalProperties:
                            type: array
                            items:
                              type: string
                        roleName:
                          type: string
                  required:
                    - data
                - anyOf:
                    - type: object
                      properties:
                        roleName:
                          type: string
                          description: The name of the role to update
                      required:
                        - roleName
                    - type: object
                      properties:
                        roleId:
                          type: string
                          description: The id of the role to update
                      required:
                        - roleId
      responses:
        '200':
          description: Success
        '401':
          description: Missing or invalid credentials
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````