メインコンテンツへスキップ
POST
/
files
/
2026-03
/
folders
/
update
/
async
フォルダープロパティーを更新
curl --request POST \
  --url https://api.hubapi.com/files/2026-03/folders/update/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "name": "<string>",
  "parentFolderId": 123
}
'
{
  "id": "<string>",
  "links": {}
}

Supported products

承認

Authorization
string
header
必須

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

ボディ

application/json
id
string
必須

更新するフォルダーの固有ID。

name
string

新しい名前。指定すると、フォルダーの名前とfullPathが変更されます。このフォルダーの全ての子は変更に合わせて更新されます。

parentFolderId
integer<int64>

新しい親folderId。変更すると、フォルダーとその全ての子が指定したフォルダーに移動されます。parentFolderIdとparentFolderPathを同時に指定することはできません。

レスポンス

accepted

id
string
必須

タスクのID

タスクに関連する情報をチェックする場所のリンク。「status」リンクにより、タスクのステータスを確認する場所のURLが指定されます。

Last modified on April 13, 2026