All Products
Search
Document Center

DataWorks:DeleteComputeResource

Last Updated:Jan 12, 2026

Deletes the specified computing resource based on the computing resource ID.

Operation description

  1. This API operation is available for all DataWorks editions.
  2. You can call this operation only if you are assigned one of the following roles in DataWorks:
  3. Tenant Owner, Workspace Administrator, Workspace Owner, and O&M.

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
IdlongYes

The computing resource ID, the unique identifier of the data source.

1234
ProjectIdlongYes

The workspace ID.

1234

Response parameters

ParameterTypeDescriptionExample
object

Responses

RequestIdstring

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

B56432E0-2112-5C97-88D0-AA0AE5****
Successboolean

Indicates whether the call succeeded.

  • true: The call is successful.
  • false: The call failed.
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "B56432E0-2112-5C97-88D0-AA0AE5****\n",
  "Success": true
}

Error codes

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

Change history

Change timeSummary of changesOperation
2025-11-25The internal configuration of the API is changed, but the call is not affectedView Change Details
2025-11-25Add OperationView Change Details