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

# Reorder columns

> Set new positions for a project's columns and return the whole board in its new order.



## OpenAPI

````yaml /openapi.json put /column/reorder/{projectId}
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:
  /column/reorder/{projectId}:
    put:
      tags:
        - Columns
      summary: Reorder columns
      description: >-
        Set new positions for a project's columns and return the whole board in
        its new order.
      operationId: reorderColumns
      parameters:
        - schema:
            type: string
          required: true
          name: projectId
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                columns:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      position:
                        type: number
                    required:
                      - id
                      - position
                  description: >-
                    Every column keeps its new position. Columns from another
                    project are rejected.
              required:
                - columns
      responses:
        '200':
          description: The reordered columns
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Column'
        '400':
          description: A column does not belong to this project
          content:
            text/plain:
              schema:
                type: string
        '401':
          description: Missing or invalid credentials
        '403':
          description: No workspace access, or missing project:update permission
          content:
            text/plain:
              schema:
                type: string
components:
  schemas:
    Column:
      type: object
      properties:
        id:
          type: string
        projectId:
          type: string
        name:
          type: string
        slug:
          type: string
          description: >-
            Stable identifier derived from the name; tasks store this as their
            status.
        position:
          type: number
          description: Board order, ascending. Columns are always returned sorted by it.
        icon:
          type:
            - string
            - 'null'
        color:
          type:
            - string
            - 'null'
        isFinal:
          type: boolean
          description: >-
            Marks the column as a done state, which stops overdue reminders for
            tasks in it.
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - projectId
        - name
        - slug
        - position
        - icon
        - color
        - isFinal
        - createdAt
        - updatedAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````