> ## 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.

# Create Organization Role

> Create Organization Role



## OpenAPI

````yaml /openapi.json post /auth/organization/create-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/create-role:
    post:
      tags:
        - Organization Management
      summary: Create Organization Role
      description: Create Organization Role
      operationId: createOrganizationRole
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organizationId:
                  type: string
                role:
                  type: string
                  description: The name of the role to create
                permission:
                  type: object
                  additionalProperties:
                    type: array
                    items:
                      type: string
                  description: The permission to assign to the role
                additionalFields:
                  type: object
                  additionalProperties: {}
              required:
                - role
                - permission
      responses:
        '200':
          description: Success
        '401':
          description: Missing or invalid credentials
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````