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

# Move Space Page

> Move a page under another parent of its space, reorder it, or rename it.



## OpenAPI

````yaml /openapi-v1.json post /api/v1/spaces/pages/move
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/spaces/pages/move:
    post:
      tags:
        - Spaces
      summary: Move Space Page
      description: Move a page under another parent of its space, reorder it, or rename it.
      operationId: core_api_v1_controllers_spaces_move_space_page
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpacePageMoveIn'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceMoveOut'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    SpacePageMoveIn:
      properties:
        address:
          description: >-
            '<space>' for a space root, '<space>/<path>' for a page (e.g.
            'handbook/onboarding/first-week').
          title: Address
          type: string
        parent:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            New parent in the same space: '<space>' for a space root,
            '<space>/<path>' for a page (e.g. 'handbook/onboarding/first-week').
          title: Parent
        position:
          anyOf:
            - type: integer
            - type: 'null'
          description: Position among the new siblings; 0 is first.
          title: Position
        title:
          anyOf:
            - type: string
            - type: 'null'
          description: New title, which also renames the path.
          title: Title
      required:
        - address
      title: SpacePageMoveIn
      type: object
    SpaceMoveOut:
      properties:
        object:
          default: space_page
          title: Object
          type: string
        id:
          title: Id
          type: string
        address:
          title: Address
          type: string
        space:
          title: Space
          type: string
        path:
          anyOf:
            - type: string
            - type: 'null'
          title: Path
        title:
          title: Title
          type: string
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
        parent_address:
          title: Parent Address
          type: string
        position:
          title: Position
          type: integer
      required:
        - id
        - address
        - space
        - title
        - parent_address
        - position
      title: SpaceMoveOut
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

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