UpdateNodeOwner
Updates the owner of the specified node.
Operation description
Call sequence: First, call ListProjects to obtain the ProjectId. Then, call ListNodes to obtain the NodeId and current owner information. Finally, call this operation with the NodeId and the new UserId.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
The runtime environment. Valid values: DEV (development environment) and PROD (production environment). Valid values:
|
PROD |
| NodeId |
integer |
Yes |
The ID of the node. You can call the ListNodes operation to obtain the node ID. |
1234 |
| UserId |
string |
Yes |
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 of the top menu bar to view the account ID. |
19337906836551 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| RequestId |
string |
The ID of the request. You can use the ID to locate logs and troubleshoot issues. |
E6F0DBDD-5AD**** |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "E6F0DBDD-5AD****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.