Builder

Set a page as the front page

Set a specific page as the front page (homepage) for a website in the builder interface

post/v1/builder/websites/{website_id}/pages/front/set

Request

Path parameters

website_idinteger required

Headers

x-api-keystring required

API key for authentication

Request body

page_idinteger required

ID of the page to set as the front page

Example request

{
  "page_id": 80
}

Response

Front page set successfully

msgstring

Status message

statusinteger

HTTP status code

Example response

{
  "msg": "Success",
  "status": 200,
  "data": {
    "message": "Page is set as frontpage."
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.