> ## 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 a project to another workspace

> Move a project and its tasks. Requires update and delete permission in the source, plus project creation and workspace settings management permission in the destination. Remove cross-project task relationships before moving.



## OpenAPI

````yaml /openapi.json put /project/{id}/move
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:
  /project/{id}/move:
    put:
      tags:
        - Projects
      summary: Move a project to another workspace
      description: >-
        Move a project and its tasks. Requires update and delete permission in
        the source, plus project creation and workspace settings management
        permission in the destination. Remove cross-project task relationships
        before moving.
      operationId: moveProject
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                workspaceId:
                  type: string
                  minLength: 1
              required:
                - workspaceId
      responses:
        '200':
          description: Project moved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MovedProject'
        '400':
          description: Invalid destination or same workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '402':
          description: Destination workspace plan has expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: >-
            No access to the project, or missing permission in the source or
            destination workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Project or destination workspace not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: Project key conflict or cross-project task relationships
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          $ref: '#/components/responses/ApiKeyRateLimited'
components:
  schemas:
    MovedProject:
      allOf:
        - $ref: '#/components/schemas/Project'
        - type: object
          properties:
            unassignedTaskCount:
              type: number
          required:
            - unassignedTaskCount
    ApiError:
      type: object
      properties:
        message:
          type: string
          description: Human-readable description of the error.
          example: Task not found
        code:
          type: string
          description: >-
            Stable UPPER_SNAKE_CASE code. Derived from the status unless a more
            specific code applies, such as VALIDATION_ERROR or
            MISSING_PERMISSION.
          example: NOT_FOUND
        issues:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
                description: >-
                  Dotted path to the invalid input, prefixed with the request
                  part (body, query, params, header).
                example: body.title
              message:
                type: string
                example: Required
            required:
              - path
              - message
          description: Every validation issue, for VALIDATION_ERROR.
        missingPermissions:
          type: array
          items:
            type: string
          description: >-
            Permissions the caller lacks for this route, as resource:action, for
            MISSING_PERMISSION and API_KEY_SCOPE.
          example:
            - task:update
      required:
        - message
        - code
    Project:
      type: object
      properties:
        id:
          type: string
        workspaceId:
          type: string
        backgroundVersion:
          type:
            - string
            - 'null'
        slug:
          type: string
          description: Short prefix used in task identifiers, e.g. KAN-12.
        icon:
          type:
            - string
            - 'null'
        name:
          type: string
        description:
          type:
            - string
            - 'null'
        createdAt:
          type: string
          format: date-time
        isPublic:
          type:
            - boolean
            - 'null'
          description: >-
            When true the project's board is readable without signing in, via
            /api/public-project/{id}.
        archivedAt:
          type:
            - string
            - 'null'
          format: date-time
          description: Non-null once archived; archived projects are hidden by default.
        position:
          type: number
          description: Sidebar order, ascending.
        lastTaskNumber:
          type: number
          description: >-
            Highest task number issued in this project; the next task gets this
            plus one.
      required:
        - id
        - workspaceId
        - backgroundVersion
        - slug
        - icon
        - name
        - description
        - createdAt
        - isPublic
        - archivedAt
        - position
        - lastTaskNumber
  responses:
    ApiKeyRateLimited:
      description: >-
        The API key exceeded its rate limit or usage quota. Wait the number of
        seconds in Retry-After before retrying. The X-RateLimit headers are sent
        only when the rate limit was hit.
      headers:
        Retry-After:
          description: >-
            Seconds to wait before retrying. Omitted when an exhausted usage
            quota never refills.
          schema:
            type: integer
        X-RateLimit-Limit:
          description: Requests the API key may make per window.
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: Requests left in the current window.
          schema:
            type: integer
        X-RateLimit-Reset:
          description: Unix time in seconds when the current window resets.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.