Zum Hauptinhalt springen
PUT
/
crm
/
v3
/
lists
/
folders
/
{folderId}
/
move
/
{newParentFolderId}
フォルダーを移動
curl --request PUT \
  --url https://api.hubapi.com/crm/v3/lists/folders/{folderId}/move/{newParentFolderId} \
  --header 'Authorization: Bearer <token>'
{
  "folder": {
    "createdAt": "2023-11-07T05:31:56Z",
    "parentFolderId": "<string>",
    "childNodes": [
      {}
    ],
    "name": "<string>",
    "id": "<string>",
    "childLists": [
      123
    ],
    "updatedContentsAt": "2023-11-07T05:31:56Z",
    "userId": 123,
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -Starter
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -Starter
この API には、次のいずれかのスコープが必要です。
cms.membership.access_groups.write
crm.lists.read
crm.lists.read
crm.lists.write

Authorizations

Authorization
string
header
required

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

Path Parameters

folderId
string
required

移動するフォルダーのID

newParentFolderId
string
required

ターゲット親フォルダーのID。

Response

successful operation

folder
object
required