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

# Cancel Run Public V2

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

## Request

- Base URL: `https://sdk.nimbleway.com`
- URL: `https://sdk.nimbleway.com/v2/jobs/runs/{run_id}/cancel`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `token`

## 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

## Changes

- **2026-07-20** `d4e4f170f4f4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nimbleway/apis/api-gateway/changes/v2/jobs/runs/:run_id/cancel/post.md)

---

[API](https://skmtc.dev/nimbleway/apis/api-gateway.md) - [All operations](https://skmtc.dev/nimbleway/apis/api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/nimbleway/apis/api-gateway/revisions/167c81181daa?raw)
