---
title: "POST /v1alpha/{+name}:cancel"
method: POST
path: "/v1alpha/{+name}:cancel"
tags: ["accounts"]
---

# POST /v1alpha/{+name}:cancel

`POST /v1alpha/{+name}:cancel`

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

## Path parameters

- `name` string, required

## Request body

- CancelOperationRequest — The request message for Operations.CancelOperation.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/checks.md) · [All operations](https://skmtc.net/google/apis/checks/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/checks/versions/08c0fbb26a65/schema)
