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

# Move task

> Move a task to another project, optionally into a named column. Both projects must be in the same workspace.



## OpenAPI

````yaml /openapi.json put /task/move/{id}
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:
  /task/move/{id}:
    put:
      tags:
        - Tasks
      summary: Move task
      description: >-
        Move a task to another project, optionally into a named column. Both
        projects must be in the same workspace.
      operationId: moveTask
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                destinationProjectId:
                  type: string
                destinationStatus:
                  type: string
                  description: Defaults to the destination project's first column.
              required:
                - destinationProjectId
      responses:
        '200':
          description: The moved task, with both project ids
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoveTaskResult'
        '400':
          description: Invalid body, or unknown task
          content:
            text/plain:
              schema:
                type: string
        '401':
          description: Missing or invalid credentials
        '403':
          description: No workspace access, or missing task:update permission
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: Task or destination project not found
          content:
            text/plain:
              schema:
                type: string
components:
  schemas:
    MoveTaskResult:
      type: object
      properties:
        task:
          $ref: '#/components/schemas/Task'
        sourceProjectId:
          type: string
        destinationProjectId:
          type: string
      required:
        - task
        - sourceProjectId
        - destinationProjectId
    Task:
      type: object
      properties:
        id:
          type: string
        projectId:
          type: string
        position:
          type:
            - number
            - 'null'
          description: Order within its column, ascending.
        number:
          type:
            - number
            - 'null'
          description: Per-project counter shown as {projectSlug}-{number}.
        userId:
          type:
            - string
            - 'null'
          description: The assignee, if any.
        title:
          type: string
        description:
          type:
            - string
            - 'null'
        status:
          type: string
          description: The slug of the column the task sits in.
        priority:
          type: string
          description: 'One of: no-priority, low, medium, high, urgent.'
        startDate:
          type:
            - string
            - 'null'
          format: date-time
        dueDate:
          type:
            - string
            - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
      required:
        - id
        - projectId
        - position
        - number
        - userId
        - title
        - description
        - status
        - priority
        - startDate
        - dueDate
        - createdAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````