---
title: "Request cancellation of future steps (side effects stand)"
method: POST
path: "/companies/{company_id}/team-runs/{team_run_id}/cancel"
tags: ["Runs"]
---

# Request cancellation of future steps (side effects stand)

`POST /companies/{company_id}/team-runs/{team_run_id}/cancel`

## Request

- Base URL: `https://api.madethis.com/v1`
- URL: `https://api.madethis.com/v1/companies/{company_id}/team-runs/{team_run_id}/cancel`
- Auth: HTTP bearer

## Path parameters

- `company_id` string, required
- `team_run_id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `reason` string

## Response `200`

Success envelope.

- object
  - `data` object, required
  - `hint` string: One-sentence orientation for agents.
  - `next_action` string: The literal next call an agent would chain.

## Other responses

- `default`: Error envelope — machine-readable `code` plus a docs link.

---

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