Method: projects.jobs.delete

Deletes the specified job.

Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.

HTTP request

DELETE https://jobs.googleapis.com/v3p1beta1/{name=projects/*/jobs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the job to be deleted.

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

Request body

The request body must be empty.

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.