You need to enable JavaScript to run this app.
Lake AI Service

Lake AI Service

Copy page
Download PDF
Storage Optimization
DeleteOptimizerTask - Delete optimization task
Copy page
Download PDF
DeleteOptimizerTask - Delete optimization task

Delete optimization task

Debug

Request parameters

The table below lists only the request parameters specific to this API and some common parameters. For more information, see Common parameters.

Parameter
Type
Required
Example value
Description
Action
String
Yes

DeleteOptimizerTask

The operation to be performed. Value: DeleteOptimizerTask.

Version
String
Yes

2024-04-30

API version. Value: 2024-04-30.

CatalogName
String
Yes

hive

Catalog name

SchemaName
String
No

default

Schema/DB name

TableName
String
No

tbl

Table name

TaskId
Long
Yes

1234567890

Task ID

Type
String
Yes

COMPACTION

Optimization type

Response parameters

The table below lists only the response parameters specific to this API. For more information, see Response structure.

Parameter
Type
Example value
Description
Success
Boolean

true

Whether the operation was successful

Request example

POST /?Action=DeleteOptimizerTask&Version=2024-04-30 HTTP/1.1 
Host: open.volcengineapi.com 
Content-Type: application/json; charset=UTF-8 

{ 
  "CatalogName": "hive", 
  "Type": "COMPACTION", 
  "TaskId": 1234567890 
}

Response example

{ 
  "ResponseMetadata": { 
    "RequestId": "2026042019233000000000000000000008", 
    "Action": "DeleteOptimizerTask", 
    "Version": "2024-04-30", 
    "Service": "las_ai_dev", 
    "Region": "cn-beijing" 
  }, 
  "Result": { 
    "Success": true 
  } 
}

Error codes

The table below lists the error codes related to the business logic of this API. For common error codes, see the Common error codes documentation.

Status code
Error code
Error message
Description
400
InvalidRequestParam

Invalid request param {}, cause {}

Invalid request parameter {}, reason {}

400
MissingParameter

The required parameter {} is missing.

Missing required parameter {}.

500
InternalError

The request has failed due to an unknown error.

The request failed due to an unknown error.

Last updated: 2026.05.18 20:10:08