All Products
Search
Document Center

DataWorks:DeleteComponent

Last Updated:Nov 05, 2025

Deletes a component.

Operation description

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

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
ProjectIdlongYes

The ID of the DataWorks workspace. You can log on to the DataWorks console and go to the Workspace page to query the ID.

This parameter specifies the DataWorks workspace to which the API operation is applied.

1000
ComponentIdstringYes

The component ID. It can be used as a request parameter for querying the list of production studio components and modifying production studio components.

123123123123

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

0000-ABCD-EF****
Successboolean

Indicates whether the request was successful.

true

Examples

Sample success responses

JSONformat

{
  "RequestId": "0000-ABCD-EF****",
  "Success": true
}

Error codes

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