All Products
Search
Document Center

:UpdateClusterConfigs

Last Updated:Mar 30, 2026

Updates the submodule configurations of a cluster in a workspace. Currently, only Spark parameters are supported.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ClusterId

integer

Yes

The ID of the cluster associated with DataWorks.

1234

ProjectId

integer

Yes

The ID of the workspace.

5678

ConfigType

string

Yes

The configuration type of the cluster. Valid values:

  • SPARK_CONF: SPARK parameters

SPARK_CONF

ConfigValues

array

Yes

The configuration information of the cluster submodule.

ClusterConfig

No

The configuration information of the cluster in a module.

Response elements

Element

Type

Description

Example

object

The returned data.

Data

boolean

Indicates whether the update was successful. Valid values:

  • true

  • false

true

RequestId

string

The ID of the request. It is used to locate logs and troubleshoot problems.

0000-ABCD-E****

Success

boolean

Indicates whether the request was successful. Valid values:

  • true

  • false

true

ErrorCode

string

The error code.

101011005

ErrorMessage

string

The error message.

Invalid.Cluster.ClusterNotFound

HttpStatusCode

integer

The HTTP status code.

200

Examples

Success response

JSON format

{
  "Data": true,
  "RequestId": "0000-ABCD-E****",
  "Success": true,
  "ErrorCode": "101011005",
  "ErrorMessage": "Invalid.Cluster.ClusterNotFound",
  "HttpStatusCode": 200
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.