---
agentTools:
  projectIndex: https://trace-space.readme.io/llms.txt
---

# Move Item

Move an Item by providing Item's *id* and the new *parentId*

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Trace.Space Core API (EngineCore)",
    "description": "Create and query pliable Items with unrestricted Relations between them and use Types (multi/duck-typing coming soon!) for structure\n\nContact Support:\n Name: Trace.Space (K.Broders CTO)\n Email: karlis@trace.space",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.tracespace.dev"
    }
  ],
  "components": {
    "securitySchemes": {
      "apikeyAuth": {
        "type": "http",
        "scheme": "apikey"
      }
    }
  },
  "security": [
    {
      "apikeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "items > {id} > move"
    }
  ],
  "paths": {
    "/core/items/{id}/move": {
      "put": {
        "tags": [
          "items > {id} > move"
        ],
        "summary": "Move Item",
        "description": "Move an Item by providing Item's *id* and the new *parentId*",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "example": {
                  "oldParent": {
                    "to": "<uuid>",
                    "type": "DUPLICATE",
                    "description": "<string>",
                    "orderIndex": "<double>",
                    "isRelatedItemDeleted": "<boolean>"
                  },
                  "newParent": {
                    "to": "<uuid>",
                    "type": "PARENT",
                    "description": "<string>",
                    "orderIndex": "<double>",
                    "isRelatedItemDeleted": "<boolean>"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Target-Organization",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "description": "Target organization to direct calls to a specific Organization of the User"
          },
          {
            "name": "Content-Type",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "example": "application/json"
          },
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "(Required) ",
            "example": "<uuid>"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": ""
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 102,
      "1": 52,
      "2": 145,
      "3": 172,
      "4": 254,
      "5": 34,
      "6": 224,
      "7": 0,
      "8": 46,
      "9": 226,
      "10": 56,
      "11": 154
    }
  }
}
```