Updated on 2024-08-20 GMT+08:00

Deleting a Task Record

Function

This API is used to delete a task record. Before calling this API:

URI

DELETE https://{Endpoint}/v3/{project_id}/jobs/{job_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Explanation:

Project ID of a tenant in a region.

For details about how to obtain the project ID, see Obtaining a Project ID.

Restrictions:

None

Value range:

The value can contain 32 characters. Only letters and digits are allowed.

Default value:

None

job_id

Yes

String

Task ID.

Request Parameters

None

Response Parameters

None

Example Request

Deleting a task record

DELETE  https://gaussdb-opengauss.ap-southeast-1.myhuaweicloud.com/v3/0483b6b16e954cb88930a360d2c4e663/jobs/6b00c41d-d54f-4bcb-80da-566ccedc2b5d

Example Response

Task record deleted.

{}

Status Code

Error Code

For details, see Error Codes.