Pages

Archive a page or bring it back

POST
/pages/{page_id}/archive

Archive a page (archived true, the default) and disable all of its links, or bring an archived page back (archived false): it is ACTIVE again, its links stay disabled until re-enabled one by one with pages.links_update. Saving a version never brings an archived page back.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

page_id*Page Id

Resource identifier: page_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128
Idempotency-Key?string

A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.

Length1 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/pages/123e4567-e89b-42d3-a456-426614174000/archive" \  -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \  -H "Content-Type: application/json" \  -d '{    "archived": true  }'
{  "id": "123e4567-e89b-42d3-a456-426614174000",  "space_id": "123e4567-e89b-42d3-a456-426614174002",  "kind": "app",  "name": "Quarterly report",  "status": "ARCHIVED",  "source_document": null,  "source_type": "USER",  "source_id": "",  "current_version": {    "id": "123e4567-e89b-42d3-a456-426614174001",    "number": 3,    "content_hash": "3f786850e387550fdab836ed7e6dc881de23001b",    "released_at": "2026-09-04T12:00:00Z",    "created_at": "2026-09-04T12:00:00Z",    "page_id": "123e4567-e89b-42d3-a456-426614174000",    "kind": "app",    "definition": {      "manifest": {        "tables": {          "orders": {            "policy": "all"          }        }      },      "documents": [],      "source_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"    },    "settings": {},    "artifact_size": 2048,    "kit_version": "2",    "assets": [],    "created_by": {      "id": "123e4567-e89b-42d3-a456-426614174002",      "name": "Ada Lovelace",      "email": "ada@example.com"    }  },  "released_version": {    "id": "123e4567-e89b-42d3-a456-426614174001",    "number": 3,    "content_hash": "3f786850e387550fdab836ed7e6dc881de23001b",    "released_at": "2026-09-04T12:00:00Z",    "created_at": "2026-09-04T12:00:00Z"  },  "pending_release": false,  "link_count": 1,  "visit_count": 12,  "category": "",  "featured_at": null,  "featured_by": null,  "featured_source": "",  "created_by": {    "id": "123e4567-e89b-42d3-a456-426614174002",    "name": "Ada Lovelace",    "email": "ada@example.com"  },  "created_at": "2026-09-04T12:00:00Z",  "updated_at": "2026-09-04T12:00:00Z",  "source_document_id": null,  "source_metadata": {}}