Changes the owner of a specific node.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateNodeOwner |
The operation that you want to perform. |
NodeId | Long | Yes | 1234 |
The ID of the node. You can call the ListNodes operation to query the ID. |
ProjectEnv | String | Yes | PROD |
The environment where the node runs. Valid values: DEV and PROD. The value DEV indicates the development environment. The value PROD indicates the production environment. |
RegionId | String | Yes | cn-shanghai |
The region ID. For example, the ID of the China (Shanghai) region is cn-shanghai, and that of the China (Zhangjiakou) region is cn-zhangjiakou. The system automatically determines the value of this parameter based on the endpoint used to call the operation. |
UserId | String | Yes | 19337906836551 |
The Alibaba Cloud account ID of 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 |
---|---|---|---|
RequestId | String | E6F0DBDD-5AD**** |
The ID of the request. You can use the ID to obtain logs and troubleshoot issues. |
Success | Boolean | true |
Indicates whether the request is successful. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=UpdateNodeOwner
&NodeId=1234
&ProjectEnv=PROD
&RegionId=cn-shanghai
&UserId=19337906836551
&<Common request parameters>
Sample success responses
XML
format
<RequestId>E6F0DBDD-5AD****</RequestId>
<Success>true</Success>
JSON
format
{
"RequestId": "E6F0DBDD-5AD****",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.