Method: projects.regions.jobs.delete

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

HTTP request

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

The URL usesgRPC 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 followingIAM permission on the specified resourcejobId:

  • dataproc.jobs.delete

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see theAuthentication Overview.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-20 UTC.