> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useinvent.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Move an item in a view

> Drag-reorder an item in any view kind. Updates the item's per-view manual position between `after` and `before`. For board views, optionally set `group_value` to drag the card between columns — the runner writes the new axis value back to the row (rejected for readonly fields and for axes that can't take drop-writes, e.g. date / number ranges).



## OpenAPI

````yaml https://api.useinvent.com/openapi.json post /orgs/{org_id}/views/{view_id}/move
openapi: 3.1.0
info:
  version: 1.0.0
  title: Invent API
servers:
  - url: https://api.useinvent.com
security:
  - bearerAuth: []
paths:
  /orgs/{org_id}/views/{view_id}/move:
    post:
      tags:
        - Orgs Views
      summary: Move an item in a view
      description: >-
        Drag-reorder an item in any view kind. Updates the item's per-view
        manual position between `after` and `before`. For board views,
        optionally set `group_value` to drag the card between columns — the
        runner writes the new axis value back to the row (rejected for readonly
        fields and for axes that can't take drop-writes, e.g. date / number
        ranges).
      parameters:
        - schema:
            type: string
          required: true
          description: Org ID
          name: org_id
          in: path
        - schema:
            type: string
          required: true
          description: View ID
          name: view_id
          in: path
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MoveTableViewItemSchema'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MoveTableViewItemSchema'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: 'null'
components:
  schemas:
    MoveTableViewItemSchema:
      type: object
      properties:
        item_id:
          type: string
          maxLength: 128
        group_value:
          type:
            - string
            - 'null'
          maxLength: 1024
          description: >-
            Board only — new group_by value. Pass `null` for the unmatched
            group. Omit to leave the field value unchanged.
        after:
          type: string
          maxLength: 1024
          description: >-
            Neighbor item id this one should come after. Required for
            `kind='board'`.
        before:
          type: string
          maxLength: 1024
          description: >-
            Neighbor item id this one should come before. Required for
            `kind='board'`.
      required:
        - item_id
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Bearer token authentication using your API key

````