Site.pro
  • AI Website Builder
    • AI Website Builder
    • Prices
    • Online Stores
    • Collaboration
    • Website Import
    • Plugins
    • Website Builder
    • Templates
    • For Design Studios
    • Languages
    • Affiliate Program
    • Examples
    • For Domain Investors
    • We Build for You
  • Domains
  • Email
  • Accounting Software
    • Accounting Software
    • Modules
    • Prices
    • Integrations, API
    • Accounting companies (366)
    • Software integrators (48)
    • Sole Proprietor
    • Business Types
    • Invoice Recognition
    • Training
    • Affiliate Partners
    • Useful Links
  • For Resellers
    • Prices
    • White Label
    • Revenue Share
    • Panels
    • How it Works
    • Marketing Materials
    • Mass Import
    • Our Partners
    • Reselling Examples
    • Documentation
    • Free Websites
  • Learn
    • FAQ: Builder
    • Knowledge Base
    • Tutorials
    • Blog
    • Growth Hacking
    • For Hostings
    • Domainity
    • For Education
    • Accounting: Start of Work
    • Teaching Institutions (68)
    • Accounting Courses Worldwide
    • Online Course on UAE Accounting
  • AI Website Builder
    • AI Website BuilderAI creates websites for you
    • PricesGet more website builder features
    • Online StoresBuild online stores
    • CollaborationCreate websites together in real-time
    • Website ImportImport Any Website
    • PluginsBuilder plugin and functions
    • Website BuilderKey Features
    • Templates200+ Awesome Templates
    • For Design StudiosBenefits for Design Studios
    • Languages
    • Affiliate Program
    • Examples
    • For Domain Investors
    • We Build for You
  • Domains
  • Email
  • Accounting Software
    • Accounting SoftwareCloud based ERP
    • ModulesMain accounting software modules
    • Prices30 days free trial
    • Integrations, APIIntegration with external systems
    • Accounting companies (366)Choose your partner for accounting
    • Software integrators (48)Pick your integrations partner
    • Sole ProprietorAccounting of individual activities
    • Business Types
    • Invoice Recognition
    • Training
    • Affiliate Partners
    • Useful Links
  • For ResellersWhite Label
    • PricesRevenue Share. White Label
    • White LabelCustomise Builder
    • Revenue ShareEarn 50% from each upgrade
    • PanelsOne product for all platforms
    • How it WorksCloud or On-Premises
    • Marketing MaterialsVideo. Mockups. Website Blocks
    • Mass Import
    • Our Partners
    • Reselling Examples
    • Documentation
    • Free Websites
  • Learn
    • FAQ: BuilderFind Answer
    • Knowledge BaseRegarding accounting software
    • TutorialsDownload video tutorials for free
    • BlogSite.pro Blog
    • Growth HackingBoost your sales
    • For HostingsTips on marketing
    • DomainityDomain usage by country
    • For EducationTraining. Tutorials. Resources
    • Accounting: Start of Work
    • Teaching Institutions (68)
    • Accounting Courses Worldwide
    • Online Course on UAE Accounting
  • Register
    By registering, you accept our Terms of Service
  • Log in

    Log in

    New user? Create account
    Forgot password?
  • $
  • English
Server Requirements
  • Published websites
  • Site.pro IPs
Builder installation / update
On-Premises
  • Server Requirements
  • Installation
  • CRON
  • Update
  • Migration to version v4
  • Collaboration Service
  • Extra configuration
  • Manual update
  • Changing PHP version
  • Support
Plugin installation
  • Hosting Panel
    • cPanel
    • DirectAdmin
    • Plesk
    • Sentora/ZPanel
    • ISPmanager
    • InterWorx
    • Vesta
    • Hosting Controller
    • CentOS Web Panel
    • Hestia
    • LiveConfig
    • Webuzo
    • Custom hosting (API)
  • Billing Panel
    • WHMCS
    • Blesta
    • Upmind
    • Custom billing (API)
API documentation
  • Builder
    • Create session (SSO)
    • Remove existing session
    • Create website backup
    • Restore website backup
  • Templates
    • List template categories
    • List template category tags
    • List templates
    • Get page types available in templates
  • Import
    • Import website
    • Get website import status
    • Import website block
    • Get website block import status
    • Check if imported website is owned by user
  • Websites
    • Create website
    • Modify website
    • Rename website
    • Publish website
    • Edit website pages
    • Edit website settings
    • Delete website
    • Get website template
    • Get website pages
    • Get website variables
    • Get template variables
    • Get website settings
    • Add pages to website
    • Duplicate pages in website
    • Remove pages from website
  • Website Blocks
    • Create empty website
    • Modify website
    • Inspect website
    • Add empty page
    • Modify page
    • Remove page
    • Inspect page
    • Inspect composition
    • Modification descriptor structure by element type
    • Add blocks from compositions
    • Remove blocks
    • Move blocks
    • Modify blocks
    • Inspect block
  • Licenses
    • Get list of published websites
    • Get statistics of publications/openings
    • Block/unblock published website
    • Controlling IP list
    • Read/add/delete hosting plans
  • Integration with your system
    • Allow/disallow domain in builder
    • Check if domains are allowed in builder
  • FAQ
    • Get posts
    • Get categories
Add-ons documentation
  • For Website
    • Public demo URL
    • Editing plans
    • User registration from public demo
    • Website import
    • Generate with AI
  • For Builder
    • Adding custom templates
    • Adding custom builder plugins
    • Scripts
For developers
  • Programming reference
  • Directory structure
  • Meta information (main.json)
  • Frontend logic (main.js)
  • Element template (main.html)
  • Backend logic (main.php)
  • Plugin testing
  • Custom element plugin
  • E-commerce plugin
  • Overriding UI
  • Other examples
Change Log
API documentation → Websites

Remove pages from website available since version 4.0.0 / 3.7.229 On-Premises

This API action requires a loginHash, that can be received by using "Create session" API call with additional parameter more = true. Furthermore [API URL will appear after you log in or sign up] in Call API URL should be replaced with builderApiUrl received from "Create session" API call, so new API url for this action would be builderApiUrl + website/remove-pages.

Since version 4.1.0 links pointing to removed pages will also be removed from all menus on website.

[API URL will appear after you log in or sign up] (builderApiUrl + "website/remove-pages")
HTTP Basic
[API Username will appear after you log in or sign up]
[API Password will appear after you log in or sign up]
POST
application/json
application/json

JSON request Object Properties:

  • String - login hash you received from "Create session" API call;
  • Array of Number - list of page IDs to indicate pages that need to be removed Prior to version 4.1.0 type was Array of String.;

JSON response Object Properties:

  • Boolean - (optional) returned on success, contains value true, indicates successfully executed action;
  • Array of Number - (optional) returned on success, contains ID list of removed pages (will only contain pages that were actually removed, if they did not exist they will not be in this list) Prior to version 4.1.0 type was Array of String.;
  • String - (optional) returned on error, contains error message, indicates failure to execute action;
© Site.pro 2011. Website Builder. United States.
Contact SalesTerms of ServicePrivacy Policy