Method: projects.jobs.cancel

Cancels a running job.

HTTP request

POST https://ml.googleapis.com/v1/{name=projects/*/jobs/*}:cancel

The URL uses 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 is empty.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.