Method: projects.regions.jobs.delete

Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.

HTTP request

DELETE https://dataproc.googleapis.com/v1/projects/{projectId}/regions/{region}/jobs/{jobId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

Required. The ID of the Google Cloud Platform project that the job belongs to.

region

string

Required. The Dataproc region in which to handle the request.

jobId

string

Required. The job ID.

Authorization requires the following IAM permission on the specified resource jobId:

  • dataproc.jobs.delete

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.