メインコンテンツへスキップ
GET
/
files
/
v3
/
folders
/
update
/
async
/
tasks
/
{taskId}
/
status
フォルダーの更新ステータスを確認
curl --request GET \
  --url https://api.hubapi.com/files/v3/folders/update/async/tasks/{taskId}/status \
  --header 'Authorization: Bearer <token>'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "CANCELED",
  "taskId": "<string>",
  "errors": [
    {
      "category": "<string>",
      "context": {},
      "errors": [
        {
          "message": "<string>",
          "code": "<string>",
          "context": "{missingScopes=[scope1, scope2]}",
          "in": "<string>",
          "subCategory": "<string>"
        }
      ],
      "links": {},
      "message": "<string>",
      "status": "<string>",
      "id": "<string>",
      "subCategory": {}
    }
  ],
  "links": {},
  "numErrors": 123,
  "requestedAt": "2023-11-07T05:31:56Z",
  "result": {
    "archived": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "archivedAt": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "parentFolderId": "<string>",
    "path": "<string>"
  }
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール

認証

Authorization
string
header
必須

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

パスパラメータ

taskId
string
必須

フォルダー更新タスクのID。

レスポンス

successful operation

completedAt
string<date-time>
必須

依頼された変更が完了した日時。

startedAt
string<date-time>
必須

タスクが開始された日時を表すタイムスタンプ。

status
enum<string>
必須

タスクの現在のステータス。

利用可能なオプション:
CANCELED,
COMPLETE,
PENDING,
PROCESSING
taskId
string
必須

タスクのID。

errors
object[]

タスクに原因がある詳細なエラー。

タスクのステータスを確認するためのリンク。

numErrors
integer<int32>

依頼された変更に原因があるエラーの数。

requestedAt
string<date-time>

タスクが依頼された日時を表すタイムスタンプ。

result
object
Last modified on December 8, 2025