Changes the owner of a node.
Debugging
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:
|
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.