All Products
Search
Document Center

DataWorks:DeleteWorkflowDefinition

Last Updated:Dec 05, 2024

Deletes a workflow from DataStudio.

Operation description

Note A workflow that is deployed cannot be deleted. If you want to delete such a workflow, you must first undeploy the workflow.

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.

10000
IdstringYes

The ID of the workflow.

860438872620113XXXX

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

B17730C0-D959-548A-AE23-E754177CXXXX
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "B17730C0-D959-548A-AE23-E754177CXXXX",
  "Success": true
}

Error codes

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