Updated on 2025-12-09 GMT+08:00

Deleting an Instant Task Record

Function

This API is used to delete an instant task record.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
  • If you are using role/policy-based authorization, see Permissions and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

Action

Access Level

Resource Type (*: required)

Condition Key

Alias

Dependencies

rds:task:delete

readwrite

-

-

-

-

Constraints

  • Deleting task records will not delete instances or terminate tasks in progress.
  • Deleted task records cannot be restored.

URI

  • URI format

    DELETE /v3/{project_id}/jobs

  • Parameter description
    Table 1 Parameters

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Definition

    Project ID of a tenant in a region.

    To obtain the value, see Obtaining a Project ID.

    Constraints

    N/A

    Range

    N/A

    Default Value

    N/A

    Table 2 Request parameters

    Parameter

    Mandatory

    Type

    Description

    id

    Yes

    String

    Definition

    Task ID.

    Constraints

    N/A

    Range

    You can obtain the task ID from Table 3.

    Default Value

    N/A

Request

None

Example Request

Delete an instant task record.
DELETE https://{Endpoint}/v3/5a7a69c429aa41b8a565c9a4995afea0/jobs?id=355fe112-ac28-490f-bcd4-cb0357694dee

Response

  • Normal response

    None

Status Code

Error Code

For details, see Error Codes.