Updated on 2026-06-11 GMT+08:00

Deleting Records of a Specified Task

Function

This API is used to delete records of a task with a specified ID.

Calling Method

For details, see Calling APIs.

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 Policies 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

vpn:vpnGateways:deleteResourceJobs

write

-

-

-

-

URI

DELETE /v5/{project_id}/vpn-gateways/jobs/{job_id}

Table 1 Parameter description

Parameter

Type

Mandatory

Description

project_id

String

Yes

Specifies a project ID. You can obtain the project ID by referring to Obtaining the Project ID.

job_id

String

Yes

Specifies a task ID.

Request

  • Request parameters

    None

  • Example request
    DELETE https://{Endpoint}/v5/{project_id}/vpn-gateways/jobs/{job_id}

Response

  • Response parameters

    Returned status code 204: successful deletion

Status Codes

For details, see Status Codes.