Zum Hauptinhalt springen
POST
/
cms
/
v3
/
pages
/
landing-pages
/
folders
/
batch
/
update
フォルダーを一括更新
curl --request POST \
  --url https://api.hubapi.com/cms/v3/pages/landing-pages/folders/batch/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": [
    {}
  ]
}'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "results": [
    {
      "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"
    }
  ],
  "status": "PENDING"
}
次のいずれかの製品またはそれ以上が必要です。
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.

Query Parameters

archived
boolean

アーカイブ済みの結果のみを返すかどうか。

Body

application/json

Wrapper for providing an array of JSON nodes as inputs.

inputs
object[]
required

入力するJSONノード。

Response

successful operation

Response object for successful batch operations on content folders.

completedAt
string<date-time>
required
startedAt
string<date-time>
required
results
object[]
required
status
enum<string>
required
Available options:
PENDING,
PROCESSING,
CANCELED,
COMPLETE
requestedAt
string<date-time>
I