Updates the name and description of a task flow.

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 UpdateTaskFlowNameAndDesc

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

Tid Long No 3***

The ID of the tenant.

Note To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant.
DagId Long Yes 15***

The ID of the task flow. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to query the task flow ID.

DagName String Yes test

The new name that you want to specify for the task flow.

Description String No test

The description that you want to specify for the task flow.

Response parameters

Parameter Type Example Description
RequestId String F73CCB9D-0CF3-5D3D-97B0-D852A8022663

The ID of the request. You can use the ID to locate logs and troubleshoot issues.

ErrorCode String UnknownError

The error code returned if the request failed.

ErrorMessage String UnknownError

The error message returned if the request failed.

Success Boolean true

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.

Examples

Sample requests

http(s)://dms-enterprise.aliyuncs.com/?Action=UpdateTaskFlowNameAndDesc
&DagName=test
&Description=test
&Common request parameters

Sample success responses

XML format

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

<UpdateTaskFlowNameAndDescResponse>
    <RequestId>F73CCB9D-0CF3-5D3D-97B0-D852A8022663</RequestId>
    <Success>true</Success>
</UpdateTaskFlowNameAndDescResponse>

JSON format

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

{
  "RequestId" : "F73CCB9D-0CF3-5D3D-97B0-D852A8022663",
  "Success" : true
}

Error codes

For a list of error codes, visit the API Error Center.