Delete optimization task
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 |
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 |
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 }
{ "ResponseMetadata": { "RequestId": "2026042019233000000000000000000008", "Action": "DeleteOptimizerTask", "Version": "2024-04-30", "Service": "las_ai_dev", "Region": "cn-beijing" }, "Result": { "Success": true } }
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 | Description |
|---|---|---|
400 | InvalidRequestParam | Invalid request parameter {}, reason {} |
400 | MissingParameter | Missing required parameter {}. |
500 | InternalError | The request failed due to an unknown error. |