Method: transferOperations.cancel

Cancels a transfer. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation.

HTTP request

POST https://storagetransfer.googleapis.com/v1/{name=transferOperations/**}:cancel

(This URI uses URI Template syntax.)

Path parameters

Parameter name Type Description
name string The name of the operation resource to be cancelled.

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization

Requires the following OAuth scope:

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

For more information, see the Auth Guide.

Send feedback about...

Cloud Storage Documentation