All Products
Search
Document Center

:UpdateNodeOwner

更新時間:May 16, 2024

Changes the owner of a node.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action

String

Yes

UpdateNodeOwner

The operation that you want to perform. Set the value to UpdateNodeOwner.

ProjectEnv

String

Yes

PROD

The environment in which the node runs. Valid values: DEV and PROD. The value DEV indicates the development environment, and the value PROD indicates the production environment.

NodeId

Long

Yes

1234

The node ID. You can call the ListNodes operation to query the node ID.

UserId

String

Yes

19337906836551

The ID of the Alibaba Cloud account used by the node owner. You can log on to the DataWorks console and move the pointer over the profile picture in the upper-right corner to view the ID.

Response parameters

Parameter

Type

Example

Description

Success

Boolean

true

Indicates whether the request was successful. Valid values:

  • true

  • false

RequestId

String

E6F0DBDD-5AD****

The request ID.

Examples

Sample requests

http(s)://[Endpoint]/?Action=UpdateNodeOwner
&ProjectEnv=PROD
&NodeId=1234
&UserId=19337906836551
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<UpdateNodeOwnerResponse>
    <Success>true</Success>
    <RequestId>E6F0DBDD-5AD****</RequestId>
</UpdateNodeOwnerResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Success" : true,
  "RequestId" : "E6F0DBDD-5AD****"
}

Error codes

For a list of error codes, see Service error codes.