All Products
Search
Document Center

DataWorks:MoveWorkflowDefinition

Last Updated:Dec 05, 2024

Moves a workflow to a path in DataStudio.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ProjectIdstringYes

The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to query the ID. You must configure this parameter to specify the DataWorks workspace to which the API operation is applied.

10001
IdstringYes

The ID of the workflow.

543217824470354XXXX
PathstringYes

The path to which you want to move the workflow. You do not need to specify a workflow name in the path.

For example, if you want to move the test workflow to root/demo/test, you must set this parameter to root/demo.

root/demo

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

05ADAF4F-7709-5FB1-B606-3513483FXXXX
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "05ADAF4F-7709-5FB1-B606-3513483FXXXX",
  "Success": true
}

Error codes

For a list of error codes, visit the Service error codes.