All Products
Search
Document Center

DataWorks:DeleteComponent

Last Updated:Mar 30, 2026

Deletes a component.

Operation description

Important After a UDF is published, it cannot be deleted. You must unpublish the UDF before you can delete it.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ProjectId

integer

Yes

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

ComponentId

string

Yes

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 elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

0000-ABCD-EF****

Success

boolean

Indicates whether the request was successful.

true

Examples

Success response

JSON format

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

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.