Updates the owner of a task flow by calling the UpdateTaskFlowOwner operation.
Operation description
Transfer restriction: The new task flow owner must be under the same tenant.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:UpdateTaskFlowOwner |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The tenant ID. Note
You can view the tenant ID by hovering over the profile icon in the upper-right corner of the console. For more information, see View tenant information. |
3*** |
| DagId |
integer |
Yes |
The task flow ID, which uniquely identifies the task flow. You can call the ListTaskFlowInstance operation to obtain this parameter. |
15*** |
| NewOwnerId |
string |
Yes |
The user ID of the new owner. You can call the GetUser or ListUsers operation to obtain the UserId value. |
51**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. Used to locate logs and troubleshoot issues. |
482C61C1-2537-5BFB-8E58-34D9F17AD3C3 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the call failed. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "482C61C1-2537-5BFB-8E58-34D9F17AD3C3",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.