---
title: "Reject Plan"
method: POST
path: "/api/v1/plans/{plan_id}/reject"
tags: ["plans"]
---

# Reject Plan

`POST /api/v1/plans/{plan_id}/reject`

## Request

- Base URL: `http://127.0.0.1:8052`
- URL: `http://127.0.0.1:8052/api/v1/plans/{plan_id}/reject`
- Auth: none declared

Reject a plan: cancels all its PLANNED tasks.

Rejected tasks are moved to CANCELLED status so they never execute.

## Path parameters

- `plan_id` string, required

## Request body

- PlanDecisionRequest: Body for POST /plans/{plan_id}/approve or /reject.
  - `reason` string

## Response `200`

Successful Response

- object

## Other responses

- `404`: Plan not found, or plan mode is not enabled on this server
- `409`: Plan already decided, or the plan changed after it was rendered for review
- `422`: Validation Error

---

[API](https://skmtc.dev/bernstein/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/bernstein/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc.dev/bernstein/apis/bernstein-task-server/revisions/2a20a34ad2eb?raw)
