Folders

Update a landing page folder

Changed on

Partially update a landing page folder, specified by the folder ID. You only need to specify the details values that you are modifying.

patch/cms/pages/2026-09/landing-pages/folders/{objectId}

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/pages/2026-09/landing-pages/folders/{objectId}
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: content

Path parameters

objectIdstring required

The unique identifier of the folder to update.

Query parameters

archivedboolean

Whether to return only results that have been archived.

Request body */*

categoryinteger required

The type of object this folder applies to. Should always be LANDING_PAGE.

createdstring date-time required

The timestamp indicating when the content folder was created.

deletedAtstring date-time required

The timestamp (ISO8601 format) when this content folder was deleted.

idstring required

The unique ID of the content folder.

namestring required

The name of the folder which will show up in the app dashboard

parentFolderIdinteger required

The ID of the content folder this folder is nested under

updatedstring date-time required

The timestamp indicating when the content folder was last updated.

Response

successful operation

categoryinteger required

The type of object this folder applies to. Should always be LANDING_PAGE.

createdstring date-time required

The timestamp indicating when the content folder was created.

deletedAtstring date-time required

The timestamp (ISO8601 format) when this content folder was deleted.

idstring required

The unique ID of the content folder.

namestring required

The name of the folder which will show up in the app dashboard

parentFolderIdinteger required

The ID of the content folder this folder is nested under

updatedstring date-time required

The timestamp indicating when the content folder was last updated.

Changes

  • 2026-096da012f8648eRevision changes
    • info

      the security scope content was added to the endpoint's security scheme oauth2

    • info

      the security scope content.landing_pages.write was removed from the endpoint's security scheme oauth2

    • info

      the security scope content.landing_pages.write was added to the endpoint's security scheme oauth2

    • info

      the security scope content was removed from the endpoint's security scheme oauth2