Search⌘ K
AI Features

Modifying Pages

Explore how to modify and delete landing pages using HubSpot CMS Pages API. Learn to send PATCH requests to update page details and DELETE requests to remove pages. Understand required parameters and interpret API responses for effective page management.

Update a page

After creating a landing page, we might want to make some changes to it. The Pages API provides a quick solution to this problem. By sending a PATCH request to the landing pages endpoint, we can modify any page we have previously created.

The base URL for this endpoint is:

https://api.hubapi.com/cms/v3/pages/landing-pages/{PAGE_ID}

Request parameters

Apart from a required path parameter, this endpoint also accepts many optional body parameters. The table below discusses some of ...