# Method: projects.locations.jobs.delete

- [HTTP request](https://docs.cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs/delete#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs/delete#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs/delete#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs/delete#body.request_body)
- [Response body](https://docs.cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs/delete#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs/delete#body.aspect)

Deletes a Job.

### HTTP request

`DELETE https://run.googleapis.com/v2/{name}`

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. The full name of the Job. Format: projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or number. It takes the form `projects/{project}/locations/{location}/jobs/{job}`. |

### Query parameters

| Parameters ||
|---|---|
| `validateOnly` | `boolean` Indicates that the request should be validated without actually deleting any resources. |
| `etag` | `string` A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates. |

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/run/docs/reference/rest/v2/projects.locations.operations#Operation`.

### Authorization scopes

Requires the following OAuth scope:

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

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).