Skip to content
Kirby CMS
Kirby
4.4.1
The CMS
For developers
For designers
For content creators
For clients & agencies
Showcase
Releases
Feedback
Docs
Guide
Reference
Cookbook
Quicktips
Screencasts
Glossary
Resources
Plugins
Themes
Newsletter
Buzz
License Hub
Community
Get together
Support forum
Discord chat
Community map
Mastodon
LinkedIn
Instagram
Partners
Try
Buy
Reference
All pages
Guide
Reference
Cookbook
Plugin
Kosmos
Reference
Pages
Close
Formatting 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
Config options
Urls
Roots
Requirements
Validators
Plugins
Extensions
Hooks
Core components
Panel UI
API
Authentication
Languages
Pages
Roles
Site
System
Translations
Users
Tools
A
Cookie
Data
Dir
Escape
F
Header
Html
I18n
Mime
QrCode
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