---
title: "Kills an op"
method: POST
path: "/ops/kills"
tags: ["ops"]
---

# Kills an op

`POST /ops/kills`

## Request body

- KillOpReq
  - `opId` string
  - `rootOpId` string

## Response `204`

HTTP/1.1 ["No Content" response status code](https://tools.ietf.org/html/rfc7231#section-6.3.5)

## Other responses

- `400` — HTTP/1.1 ["Bad Request" response status code](https://tools.ietf.org/html/rfc7231#section-6.5.1)
- `500` — HTTP/1.1 ["Internal Server Error" response status code](https://tools.ietf.org/html/rfc7231#section-6.6.1)

## Changes

- **2020-11-03** `493a631ec454` — 2 info
  - added the new optional request property `rootOpId`
  - the request property `opId` became optional
- **2019-07-16** `6d0123d8047b` — 1 breaking, 1 warning
  - the request property `opId` became required
  - removed the request property `rootOpId`

[Change history](https://skmtc.dev/opctl/apis/opctl-rest-api/changes/ops/kills/post.md)

---

[API](https://skmtc.dev/opctl/apis/opctl-rest-api.md) · [All operations](https://skmtc.dev/opctl/apis/opctl-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opctl/opctl-rest-api/revisions/57a79c2e7e27/schema)
