---
title: "Cancel Run"
method: POST
path: "/v2/jobs/runs/{run_id}/cancel"
tags: ["Jobs"]
---

# Cancel Run

`POST /v2/jobs/runs/{run_id}/cancel`

## Path parameters

- `run_id` string, required

## Response `200`

Successful Response

- JobRunCancelResponsePublicV2 — Result of cancelling a run.
  - `id` string, required — Identifier of the cancelled run.
  - `status` 'PENDING' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'CANCELLED' | 'TIMEOUT' | 'WARNING', required — Run status after cancellation.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/nimbleway/apis/nimble-sdk.md) · [All operations](https://skmtc.net/nimbleway/apis/nimble-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nimbleway/nimble-sdk/revisions/725be79e7005/schema)
