---
title: "Cancel"
method: POST
path: "/api/agents/harness/invocations/{invocation_id}/cancel"
tags: ["agents"]
---

# Cancel

`POST /api/agents/harness/invocations/{invocation_id}/cancel`

## Request

- Base URL: `https://api.advisorppc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.advisorppc.com/api/agents/harness/invocations/{invocation_id}/cancel`
- Auth: HTTP bearer

## Path parameters

- `invocation_id` integer, required

## Headers

- `X-Tenant-Id` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/advisorppc/apis/advisorppc-api.md) · [All operations](https://skmtc.dev/advisorppc/apis/advisorppc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/advisorppc/apis/advisorppc-api/revisions/3441bd729e0c?raw)
