Method: projects.jobs.batchDelete

Deletes a list of Jobs by filter.

HTTP request

POST https://jobs.googleapis.com/v3p1beta1/{parent=projects/*}/jobs:batchDelete

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the project under which the job is created.

The format is "projects/{projectId}", for example, "projects/api-test-project".

Request body

The request body contains data with the following structure:

JSON representation
{
  "filter": string
}
Fields
filter

string

Required. The filter string specifies the jobs to be deleted.

Supported operator: =, AND

The fields eligible for filtering are:

  • companyName (Required)
  • requisitionId (Required)

Sample Query: companyName = "projects/api-test-project/companies/123" AND requisitionId = "req-1"

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/jobs
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.