Pages

Moves a page and its subpages under another page. target_doc_id is the ID of the destination page; the moved page becomes its last child and joins the destination's doc. Requires write access on the destination; published docs cannot be moved. When a doc is moved it stops being a doc — its memberships and project link are dropped and access follows the destination.

patch/api/v2/pages/{id}/move

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/pages/{id}/move
  • Auth
    none declared

Path parameters

idstring required

The ID of the page to move.

Request body

Example request

{
  "data": {
    "type": "pages",
    "attributes": {
      "target_doc_id": 48901
    }
  }
}

Response

Single page

Example response

{
  "data": {
    "id": "78",
    "type": "pages",
    "attributes": {
      "title": "Architecture Overview",
      "note": "System architecture documentation for the authentication service",
      "created_at": "2026-01-20T10:00:00.000+00:00",
      "updated_at": "2026-03-10T15:00:00.000+00:00",
      "last_activity_at": "2026-03-10T15:00:00.000+00:00",
      "position": 1,
      "archived_at": null
    },
    "relationships": {
      "project": {
        "data": {
          "type": "projects",
          "id": "6899"
        }
      },
      "creator": {
        "data": {
          "type": "people",
          "id": "12"
        }
      }
    }
  },
  "included": []
}

Changes

    • warning

      added the new project_already_exported enum value to the // response property for the response status

    • warning

      added the new bad_decimal_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status