Skip to content
Kirby CMS
Kirby
3.9.8
The CMS
For developers
For designers
For content creators
For clients & agencies
Showcase
Releases
Docs
Guide
Cookbook
Reference
Screencasts
Glossary
Resources
Plugins
Themes
Newsletter
Buzz
Community
Feedback
Support forum
Discord chat
Mastodon
Instagram
Partners
Try
Love
Buy
Search
Search
Reference
All pages
Guide
Reference
Cookbook
Plugin
Kosmos
Reference
Pages
Close
Text
KirbyText
Markdown
Templates
Field methods
Helpers
Panel
Blueprints
Fields
Sections
Blocks
Icons
Styling
Samples
Objects
$kirby
$site
$page
$pages
$file
$files
$user
$users
$block
$blocks
$layout
$layouts
$language
$languages
$pagination
$request
$session
All classes
Aliases
Router
Patterns
Response types
System
Options
Urls
Roots
Validators
Plugins
Extensions
Hooks
Core components
UI Kit
Panel internals
API
Authentication
Languages
Pages
Roles
Site
System
Translations
Users
Tools
A
Cookie
Data
Dir
Escape
F
Header
Html
I18n
Mime
Query
Str
Tpl
Url
V
Xml
GET
/api/pages/:id
Retrieve a page
PATCH
/api/pages/:id
Update page content
DELETE
/api/pages/:id
Delete a page
GET
/api/pages/:id/children
List all subpages
GET|POST
/api/pages/:id/children/search
Search for children pages
POST
/api/pages/:id/children
Create a new subpage
GET
/api/pages/:id/blueprints
List all allowed blueprints for a page
GET
/api/pages/:id/files
List files
POST
/api/pages/:id/files
Upload a new file
PATCH
/api/pages/:id/files/sort
Sort files
GET
/api/pages/:id/files/:filename
Retrieve a file
GET|POST
/api/pages/:id/files/search
Search for page files
GET
/api/pages/:id/files/:filename/sections/:name
Retrieve a file section
PATCH
/api/pages/:id/files/:filename
Update file content
PATCH
/api/pages/:id/files/:filename/name
Rename a file
DELETE
/api/pages/:id/files/:filename
Delete a file
PATCH
/api/pages/:id/slug
Change the page slug
PATCH
/api/pages/:id/status
Change the page status
PATCH
/api/pages/:id/template
Change the page template
PATCH
/api/pages/:id/title
Change the page title
DELETE
/api/pages/:id/files/:filename
Delete a file
files.delete