PATCH
/
cms
/
v3
/
pages
/
landing-pages
/
folders
/
{objectId}
フォルダーを更新
curl --request PATCH \
  --url https://api.hubapi.com/cms/v3/pages/landing-pages/folders/{objectId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "deletedAt": "2023-11-07T05:31:56Z",
  "parentFolderId": 123,
  "created": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "id": "<string>",
  "category": 123,
  "updated": "2023-11-07T05:31:56Z"
}'
{
  "deletedAt": "2023-11-07T05:31:56Z",
  "parentFolderId": 123,
  "created": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "id": "<string>",
  "category": 123,
  "updated": "2023-11-07T05:31:56Z"
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub無料ツール
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

必須スコープ

この API には、次のいずれかのスコープが必要です。
  • content

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

objectId
string
required

フォルダーID。

Query Parameters

archived
boolean

削除済みのフォルダーを更新するかどうかを指定します。既定値は「false」です。

Body

application/json

The JSON representation of the updated Folder.

Model definition for a content folder.

Response

successful operation

Model definition for a content folder.