Method: projects.jobs.cancel

Stay organized with collections Save and categorize content based on your preferences.

Cancels a running job.

HTTP request

POST https://{endpoint}/v1/{name=projects/*/jobs/*}:cancel

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the job to cancel.

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

  • ml.jobs.cancel

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.