Help Center/ Data Warehouse Service/ API Reference/ API Description/ Intelligent O&M/ Synchronizing the O&M Task Status of the Current Cluster
Updated on 2026-11-11 GMT+08:00

Synchronizing the O&M Task Status of the Current Cluster

Function

This API is used to synchronize the O&M task status of the current cluster.

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    dws:cluster:refreshOperationalTask

    Write

    cluster *

    • g:ResourceTag/<tag-key>

    • g:EnterpriseProjectId

    dws:operationalTask:get

    -

URI

POST /v1/{project_id}/clusters/{cluster_id}/operational-tasks/sync

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition

Project ID. To obtain the value, see Obtaining a Project ID.

Constraints

N/A

Range

N/A

Default Value

N/A

cluster_id

Yes

String

Definition

Cluster ID. To obtain the value, see Obtaining the Cluster ID.

Constraints

N/A

Range

N/A

Default Value

N/A

Request Parameters

None

Response Parameters

Status code: 200

Refreshed.

None

Example Requests

Refresh the O&M tasks of the current cluster.

post https://{Endpoint}/v1/169439ece752470aa5171633e9d3e47f/clusters/50aee999-9215-4dd0-a142-254ac6bf80e7/operational-tasks/sync

Example Responses

Status code: 200

{ }

Status Codes

Status Code

Description

200

Refreshed.

400

Request error.

401

Authentication failed.

403

No operation permissions.

404

No resources found.

500

Internal service error.

503

Service unavailable.