> ## 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 custom fields

> Set new positions for a project's custom fields.



## OpenAPI

````yaml /openapi.json put /custom-field/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:
  /custom-field/reorder/{projectId}:
    put:
      tags:
        - Custom Fields
      summary: Reorder custom fields
      description: Set new positions for a project's custom fields.
      operationId: reorderCustomFields
      parameters:
        - schema:
            type: string
          required: true
          name: projectId
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                fields:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      position:
                        type: number
                    required:
                      - id
                      - position
              required:
                - fields
      responses:
        '200':
          description: The reordered custom fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReorderCustomFieldsResponse'
        '400':
          description: A custom field 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:
    ReorderCustomFieldsResponse: {}
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````